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 <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Alexander van Heukelum 2008-09-26 14:03:06 +02:00 committed by Ingo Molnar
parent 8b1c870f19
commit a491503e4d

View 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);
/*