[PATCH 9/9] ARM: entry: remove redundant asm_trace_hardirqs_on()

Xie Yuanbin posted 9 patches 2 weeks ago
[PATCH 9/9] ARM: entry: remove redundant asm_trace_hardirqs_on()
Posted by Xie Yuanbin 2 weeks ago
When returning to user mode, trace_hardirqs_on() is already called.

Remove redundant asm_trace_hardirqs_on() at syscall enter.

Signed-off-by: Xie Yuanbin <qq570070308@gmail.com>
---
 arch/arm/kernel/entry-common.S | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S
index 0556d01ef55b..4d1a58e769ef 100644
--- a/arch/arm/kernel/entry-common.S
+++ b/arch/arm/kernel/entry-common.S
@@ -180,7 +180,6 @@ ENTRY(vector_swi)
 	reload_current r10, ip
 	zero_fp
 	alignment_trap r10, ip, cr_alignment
-	asm_trace_hardirqs_on save=0
 	bl	arm_enter_from_user_mode
 	enable_irq save=0
 
-- 
2.51.0