Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c36cd4ba authored by Thiemo Seufer's avatar Thiemo Seufer Committed by Ralf Baechle
Browse files

[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: default avatarThiemo Seufer <ths@networkno.de>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 3a01c49a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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 |