projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
220483f
)
sparc: drop get_tbr() in traps.h
author
Sam Ravnborg
<sam@ravnborg.org>
Sat, 3 Jan 2009 05:33:05 +0000
(21:33 -0800)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/include/asm/traps.h
b/arch/sparc/include/asm/traps.h
index 4becd66e04f24517ee726a0100f38188de4d80d3..3aa62dde343fcd7129de54ae95248ad253bf8a4e 100644
(file)
--- 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__) */