Jelajahi Sumber

traps: x86_64: remove trace_hardirqs_fixup from debug handler

All exceptions are taken via interrupt gates. TRACE_IRQS_OFF
is called just before entering the C code, so the irq state
is known to the irq tracer at this point. No need to call
trace_hardirqs_fixup.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Alexander van Heukelum 16 tahun lalu
induk
melakukan
a491503e4d
1 mengubah file dengan 0 tambahan dan 2 penghapusan
  1. 0 2
      arch/x86/kernel/traps_64.c

+ 0 - 2
arch/x86/kernel/traps_64.c

@@ -899,8 +899,6 @@ asmlinkage void __kprobes do_debug(struct pt_regs *regs,
 	unsigned long condition;
 	siginfo_t info;
 
-	trace_hardirqs_fixup();
-
 	get_debugreg(condition, 6);
 
 	/*