sparc: drop get_tbr() in traps.h
PATCH 4/4 sparc: drop get_tbr() in traps.h
get_tbr() has no users in the whole tree -drop it.
Signed-off-by Sam Ravnborg <[email protected]>
--- arch/sparc/include/asm/traps.h | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-)
arch/sparc/include/asm/traps.h +0 -7
@@ -22,13 +22,6 @@ struct tt_entry {/* We set this to _start in system setup. */ extern struct tt_entry *sparc_ttable; -static inline unsigned long get_tbr (void ) -{ -unsigned long tbr; - - __asm__ __volatile__("rd %%tbr, %0\n\t" :"=r" (tbr)); -return tbr; -}#endif /* (__KERNEL__) */ #endif /* !(__ASSEMBLY__) */
Signature · 1 line
1.6.0.2.GIT
David Miller
maintainerFrom: Sam Ravnborg <[email protected]>
Date: Thu, 1 Jan 2009 23:40:30 +0100
Quoted 3 lines
get_tbr()has no users in the whole tree -drop it.Signed-off-by Sam Ravnborg <[email protected]>
Also applied, thanks a lot Sam.