forked from Minki/linux
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:
parent
220483fec0
commit
65579f3cfb
@ -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__) */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user