[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>
This commit is contained in:
committed by
Ralf Baechle
parent
3a01c49ad8
commit
c36cd4bab5
@@ -548,7 +548,7 @@ static inline unsigned int decode_config3(struct cpuinfo_mips *c)
|
|||||||
return config3 & MIPS_CONF_M;
|
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. */
|
/* MIPS32 or MIPS64 compliant CPU. */
|
||||||
c->options = MIPS_CPU_4KEX | MIPS_CPU_4K_CACHE | MIPS_CPU_COUNTER |
|
c->options = MIPS_CPU_4KEX | MIPS_CPU_4K_CACHE | MIPS_CPU_COUNTER |
|
||||||
|
Reference in New Issue
Block a user