From: Alexander van Heukelum Date: Fri, 26 Sep 2008 12:03:06 +0000 (+0200) Subject: traps: x86_64: remove trace_hardirqs_fixup from debug handler X-Git-Tag: v2.6.28-rc1~611^2~40 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a491503e4d0cb739f409069826e2746e38826099;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index 7d56c875dd0..7d59559c2df 100644 --- a/arch/x86/kernel/traps_64.c +++ b/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); /*