diff options
author | Alexander van Heukelum <heukelum@fastmail.fm> | 2008-09-26 08:03:06 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-13 04:22:02 -0400 |
commit | a491503e4d0cb739f409069826e2746e38826099 (patch) | |
tree | ff78318a708045bfdde030622ecb32bdb3bbefa2 | |
parent | 8b1c870f19849235b8c7e4dfe2ec6b0d691fa9d7 (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>
-rw-r--r-- | 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 7d56c875dd03..7d59559c2dff 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, | |||
899 | unsigned long condition; | 899 | unsigned long condition; |
900 | siginfo_t info; | 900 | siginfo_t info; |
901 | 901 | ||
902 | trace_hardirqs_fixup(); | ||
903 | |||
904 | get_debugreg(condition, 6); | 902 | get_debugreg(condition, 6); |
905 | 903 | ||
906 | /* | 904 | /* |