From: Sam Ravnborg Date: Sat, 3 Jan 2009 05:33:05 +0000 (-0800) Subject: sparc: drop get_tbr() in traps.h X-Git-Tag: v2.6.29-rc1~501^2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=65579f3cfbc55a6d5ed0469a6f069ada6f810a3e;p=linux-2.6-omap-h63xx.git sparc: drop get_tbr() in traps.h get_tbr() has no users in the whole tree -drop it. Signed-off-by: Sam Ravnborg Signed-off-by: David S. Miller --- 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 { /* 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__) */