traps: x86_64: remove trace_hardirqs_fixup from DO_ERROR_INFO macro
authorAlexander van Heukelum <heukelum@fastmail.fm>
Fri, 26 Sep 2008 12:03:04 +0000 (14:03 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:21:58 +0000 (10:21 +0200)
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>
arch/x86/kernel/traps_64.c

index 9c0ac0cab013bc64fb500dcdc56ea07a862cacf7..9f487f374c72b1f5fafa683465060d621468a61d 100644 (file)
@@ -658,7 +658,6 @@ asmlinkage void do_##name(struct pt_regs *regs, long error_code)    \
        info.si_errno = 0;                                              \
        info.si_code = sicode;                                          \
        info.si_addr = (void __user *)siaddr;                           \
-       trace_hardirqs_fixup();                                         \
        if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr)  \
                                                        == NOTIFY_STOP) \
                return;                                                 \