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

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

traps: x86_64: remove trace_hardirqs_fixup from DO_ERROR_INFO macro



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 7e61a793
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -658,7 +658,6 @@ asmlinkage void do_##name(struct pt_regs *regs, long error_code) \
	info.si_errno = 0;						\
	info.si_errno = 0;						\
	info.si_code = sicode;						\
	info.si_code = sicode;						\
	info.si_addr = (void __user *)siaddr;				\
	info.si_addr = (void __user *)siaddr;				\
	trace_hardirqs_fixup();						\
	if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr)	\
	if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr)	\
							== NOTIFY_STOP)	\
							== NOTIFY_STOP)	\
		return;							\
		return;							\