sparc: drop get_tbr() in traps.h

get_tbr() has no users in the whole tree -drop it.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Sam Ravnborg 2009-01-02 21:33:05 -08:00 committed by David S. Miller
parent 220483fec0
commit 65579f3cfb
1 changed files with 0 additions and 7 deletions

View File

@ -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__) */