summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/traps.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/traps.h')
-rw-r--r--include/asm-sparc/traps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc/traps.h b/include/asm-sparc/traps.h
index 6690ab956ea6..f62c7f878ee1 100644
--- a/include/asm-sparc/traps.h
+++ b/include/asm-sparc/traps.h
@@ -22,7 +22,7 @@ struct tt_entry {
/* We set this to _start in system setup. */
extern struct tt_entry *sparc_ttable;
-extern __inline__ unsigned long get_tbr(void)
+static inline unsigned long get_tbr(void)
{
unsigned long tbr;
OpenPOWER on IntegriCloud