diff options
-rw-r--r-- | arch/sparc/include/asm/traps.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sparc/include/asm/traps.h b/arch/sparc/include/asm/traps.h index 4becd66e04f..3aa62dde343 100644 --- a/arch/sparc/include/asm/traps.h +++ b/arch/sparc/include/asm/traps.h | |||
@@ -22,13 +22,6 @@ struct tt_entry { | |||
22 | /* We set this to _start in system setup. */ | 22 | /* We set this to _start in system setup. */ |
23 | extern struct tt_entry *sparc_ttable; | 23 | extern struct tt_entry *sparc_ttable; |
24 | 24 | ||
25 | static inline unsigned long get_tbr(void) | ||
26 | { | ||
27 | unsigned long tbr; | ||
28 | |||
29 | __asm__ __volatile__("rd %%tbr, %0\n\t" : "=r" (tbr)); | ||
30 | return tbr; | ||
31 | } | ||
32 | #endif /* (__KERNEL__) */ | 25 | #endif /* (__KERNEL__) */ |
33 | #endif /* !(__ASSEMBLY__) */ | 26 | #endif /* !(__ASSEMBLY__) */ |
34 | 27 | ||