summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-07-03 14:30:01 +0200
committerRalf Baechle <ralf@linux-mips.org>2006-07-13 22:26:01 +0200
commitc36cd4bab5084798b401d529129a950f4a48662d (patch)
tree423943e169f670f344cc009be4488d62fdcd2e3b
parent[MIPS] Uses MIPS_CONF_AR instead of magic constants. (diff)
downloadlinux-c36cd4bab5084798b401d529129a950f4a48662d.tar.xz
linux-c36cd4bab5084798b401d529129a950f4a48662d.zip
[MIPS] Save 2k text size in cpu-probe
The appended patch drops the inline for decode_configs, this saves about 2k of text size. Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/kernel/cpu-probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index 17eea1f96d9f..aa2caa67299a 100644
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -548,7 +548,7 @@ static inline unsigned int decode_config3(struct cpuinfo_mips *c)
return config3 & MIPS_CONF_M;
}
-static inline void decode_configs(struct cpuinfo_mips *c)
+static void __init decode_configs(struct cpuinfo_mips *c)
{
/* MIPS32 or MIPS64 compliant CPU. */
c->options = MIPS_CPU_4KEX | MIPS_CPU_4K_CACHE | MIPS_CPU_COUNTER |