summaryrefslogtreecommitdiff
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-07-03 16:30:01 +0400
committerRalf Baechle <ralf@linux-mips.org>2006-07-14 00:26:01 +0400
commitc36cd4bab5084798b401d529129a950f4a48662d (patch)
tree423943e169f670f344cc009be4488d62fdcd2e3b /arch/mips/kernel
parent3a01c49ad81d301fe7265dd63bfb15ee3c3754ef (diff)
downloadlinux-c36cd4bab5084798b401d529129a950f4a48662d.tar.xz
[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>
Diffstat (limited to 'arch/mips/kernel')
-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 |