aboutsummaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorAlexander van Heukelum <heukelum@fastmail.fm>2008-09-26 14:03:06 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-13 10:22:02 +0200
commita491503e4d0cb739f409069826e2746e38826099 (patch)
treeff78318a708045bfdde030622ecb32bdb3bbefa2 /arch/x86
parent8b1c870f19849235b8c7e4dfe2ec6b0d691fa9d7 (diff)
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>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/traps_64.c2
1 files changed, 0 insertions, 2 deletions
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);
/*