Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a491503e authored by Alexander van Heukelum's avatar Alexander van Heukelum Committed by Ingo Molnar
Browse files

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: default avatarAlexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 8b1c870f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);

	/*