traps: x86_64: remove trace_hardirqs_fixup from debug handler
authorAlexander van Heukelum <heukelum@fastmail.fm>
Fri, 26 Sep 2008 12:03:06 +0000 (14:03 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:22:02 +0000 (10:22 +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 7d56c875dd03c67fe9e04c7663e1abdbc1d7c5f2..7d59559c2dff87a9bbafabdf9d9585ae05542357 100644 (file)
@@ -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);
 
        /*