Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os 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>

authored by

Sam Ravnborg and committed by
David S. Miller
65579f3c 220483fe

-7
-7
arch/sparc/include/asm/traps.h
··· 22 22 /* We set this to _start in system setup. */ 23 23 extern struct tt_entry *sparc_ttable; 24 24 25 - static inline unsigned long get_tbr(void) 26 - { 27 - unsigned long tbr; 28 - 29 - __asm__ __volatile__("rd %%tbr, %0\n\t" : "=r" (tbr)); 30 - return tbr; 31 - } 32 25 #endif /* (__KERNEL__) */ 33 26 #endif /* !(__ASSEMBLY__) */ 34 27