[PATCH] powerpc: Remove proc_trap()

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE1943d LANDED

Landed in mainline as 77b0bed74232 on 2021-06-16.

2 messages, 2 authors, 2021-06-18 · open the first message on its own page

[PATCH] powerpc: Remove proc_trap()

From: Christophe Leroy <hidden>
Date: 2021-06-09 05:52:57

proc_trap() has never been used, remove it.

Signed-off-by: Christophe Leroy <redacted>
---
 arch/powerpc/include/asm/reg.h | 2 --
 1 file changed, 2 deletions(-)
diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h
index 7c81d3e563b2..3bb01a8779c9 100644
--- a/arch/powerpc/include/asm/reg.h
+++ b/arch/powerpc/include/asm/reg.h
@@ -1435,8 +1435,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");
-- 
2.25.0

Re: [PATCH] powerpc: Remove proc_trap()

From: Michael Ellerman <hidden>
Date: 2021-06-18 04:23:36

On Wed, 9 Jun 2021 05:52:50 +0000 (UTC), Christophe Leroy wrote:
proc_trap() has never been used, remove it.
Applied to powerpc/next.

[1/1] powerpc: Remove proc_trap()
      https://git.kernel.org/powerpc/c/77b0bed74232c480b94bae188b6c7cd0ddee92e8

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help