projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4696cfd
)
powerpc: Remove proc_trap()
author
Christophe Leroy
<christophe.leroy@csgroup.eu>
Wed, 9 Jun 2021 05:52:50 +0000
(
05:52
+0000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 16 Jun 2021 14:09:10 +0000
(
00:09
+1000)
proc_trap() has never been used, remove it.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/827944ea12d470c2f862635f48b5ee6c1520351f.1623217909.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/reg.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/reg.h
b/arch/powerpc/include/asm/reg.h
index
c70782e
..
59b98f5
100644
(file)
--- a/
arch/powerpc/include/asm/reg.h
+++ b/
arch/powerpc/include/asm/reg.h
@@
-1436,8
+1436,6
@@
static inline void mtsr(u32 val, u32 idx)
}
#endif
-#define proc_trap() asm volatile("trap")
-
extern unsigned long current_stack_frame(void);
register unsigned long current_stack_pointer asm("r1");