From: Alexander van Heukelum Date: Fri, 26 Sep 2008 12:03:05 +0000 (+0200) Subject: traps: x86_64: remove trace_hardirqs_fixup from int3 handler X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8b1c870f19849235b8c7e4dfe2ec6b0d691fa9d7;p=openwrt%2Fstaging%2Fblogic.git traps: x86_64: remove trace_hardirqs_fixup from int3 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 9f487f374c72..7d56c875dd03 100644 --- a/arch/x86/kernel/traps_64.c +++ b/arch/x86/kernel/traps_64.c @@ -861,8 +861,6 @@ void restart_nmi(void) /* runs on IST stack. */ asmlinkage void __kprobes do_int3(struct pt_regs *regs, long error_code) { - trace_hardirqs_fixup(); - if (notify_die(DIE_INT3, "int3", regs, error_code, 3, SIGTRAP) == NOTIFY_STOP) return;