diff options
author | 2009-01-02 21:33:05 -0800 | |
---|---|---|
committer | 2009-01-02 21:33:05 -0800 | |
commit | 65579f3cfbc55a6d5ed0469a6f069ada6f810a3e (patch) | |
tree | 06ed6fe0e80211c27d49c19f0505e43a60fdd5c8 /arch/sparc/include/asm/traps.h | |
parent | sparc: fix warning in userspace header traps.h (diff) | |
download | linux-dev-65579f3cfbc55a6d5ed0469a6f069ada6f810a3e.tar.xz linux-dev-65579f3cfbc55a6d5ed0469a6f069ada6f810a3e.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | arch/sparc/include/asm/traps.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sparc/include/asm/traps.h b/arch/sparc/include/asm/traps.h index 4becd66e04f2..3aa62dde343f 100644 --- a/arch/sparc/include/asm/traps.h +++ b/arch/sparc/include/asm/traps.h @@ -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__) */ |