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:
Родитель
220483fec0
Коммит
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__) */
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче