From: Thiemo Seufer Date: Mon, 3 Jul 2006 12:30:01 +0000 (+0100) Subject: [MIPS] Save 2k text size in cpu-probe X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c36cd4bab5084798b401d529129a950f4a48662d;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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 Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index 17eea1f96d9..aa2caa67299 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 |