Skip to contentSkip to conversation

sparc: drop get_tbr() in traps.h

PATCH Applied Sam Ravnborg 2 participants 2 messages Jan 1, 2009 – Jan 3, 2009 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 sparc: drop get_tbr() in traps.h

get_tbr() has no users in the whole tree -drop it.

---
 arch/sparc/include/asm/traps.h |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
arch/sparc/include/asm/traps.h +0 -7
index 4becd66..3aa62dd 100644
@@ -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__) */
 
Signature · 1 line
1.6.0.2.GIT