Commit aeffdbba authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] tlbex: Size optimize code by declaring a few functions inline.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 1ac74d52
...@@ -35,24 +35,24 @@ ...@@ -35,24 +35,24 @@
#include <asm/smp.h> #include <asm/smp.h>
#include <asm/war.h> #include <asm/war.h>
static __init int __maybe_unused r45k_bvahwbug(void) static inline int r45k_bvahwbug(void)
{ {
/* XXX: We should probe for the presence of this bug, but we don't. */ /* XXX: We should probe for the presence of this bug, but we don't. */
return 0; return 0;
} }
static __init int __maybe_unused r4k_250MHZhwbug(void) static inline int r4k_250MHZhwbug(void)
{ {
/* XXX: We should probe for the presence of this bug, but we don't. */ /* XXX: We should probe for the presence of this bug, but we don't. */
return 0; return 0;
} }
static __init int __maybe_unused bcm1250_m3_war(void) static inline int __maybe_unused bcm1250_m3_war(void)
{ {
return BCM1250_M3_WAR; return BCM1250_M3_WAR;
} }
static __init int __maybe_unused r10000_llsc_war(void) static inline int __maybe_unused r10000_llsc_war(void)
{ {
return R10000_LLSC_WAR; return R10000_LLSC_WAR;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment