summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-07-03 13:30:01 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-07-13 21:26:01 +0100
commitc36cd4bab5084798b401d529129a950f4a48662d (patch)
tree423943e169f670f344cc009be4488d62fdcd2e3b /arch
parent3a01c49ad81d301fe7265dd63bfb15ee3c3754ef (diff)
downloadop-kernel-dev-c36cd4bab5084798b401d529129a950f4a48662d.zip
op-kernel-dev-c36cd4bab5084798b401d529129a950f4a48662d.tar.gz
[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')
-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 17eea1f..aa2caa6 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 |
OpenPOWER on IntegriCloud