sparc: drop get_tbr() in traps.h
authorSam Ravnborg <sam@ravnborg.org>
Sat, 3 Jan 2009 05:33:05 +0000 (21:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Jan 2009 05:33:05 +0000 (21:33 -0800)
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>
arch/sparc/include/asm/traps.h

index 4becd66e04f24517ee726a0100f38188de4d80d3..3aa62dde343fcd7129de54ae95248ad253bf8a4e 100644 (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__) */
 
This page took 0.026977 seconds and 5 git commands to generate.