From: Alexander van Heukelum Date: Fri, 26 Sep 2008 12:03:04 +0000 (+0200) Subject: traps: x86_64: remove trace_hardirqs_fixup from DO_ERROR_INFO macro X-Git-Tag: v2.6.28-rc1~611^2~42 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4b986a365253b57d8ab4ed7b796ba0893ff4c05c;p=linux-2.6-omap-h63xx.git 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: Alexander van Heukelum Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index 9c0ac0cab01..9f487f374c7 100644 --- a/arch/x86/kernel/traps_64.c +++ b/arch/x86/kernel/traps_64.c @@ -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; \