Skip to content

Commit

Permalink
[MIPS] tlbex: Size optimize code by declaring a few functions inline.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
ralfbaechle committed Oct 11, 2007
1 parent 1ac74d5 commit aeffdbb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/mips/mm/tlbex.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,24 @@
#include <asm/smp.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. */
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. */
return 0;
}

static __init int __maybe_unused bcm1250_m3_war(void)
static inline int __maybe_unused bcm1250_m3_war(void)
{
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;
}
Expand Down

0 comments on commit aeffdbb

Please sign in to comment.