traps: x86_64: remove trace_hardirqs_fixup from int3 handler

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, October 13, 2008 - 11:08 am

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8b1c87...
Commit:     8b1c870f19849235b8c7e4dfe2ec6b0d691fa9d7
Parent:     4b986a365253b57d8ab4ed7b796ba0893ff4c05c
Author:     Alexander van Heukelum <heukelum@fastmail.fm>
AuthorDate: Fri Sep 26 14:03:05 2008 +0200
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Mon Oct 13 10:22:00 2008 +0200

    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 <heukelum@fastmail.fm>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 arch/x86/kernel/traps_64.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c
index 9f487f3..7d56c87 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;
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
traps: x86_64: remove trace_hardirqs_fixup from int3 handler, Linux Kernel Mailing ..., (Mon Oct 13, 11:08 am)