diff options
author | Alexander van Heukelum <heukelum@fastmail.fm> | 2008-09-26 08:03:04 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-13 04:21:58 -0400 |
commit | 4b986a365253b57d8ab4ed7b796ba0893ff4c05c (patch) | |
tree | 51d50cbf138b46f8eaea2caa039d5b8d863ae77c | |
parent | 7e61a7932495e37685e95ec9a59ad08810dec959 (diff) |
traps: x86_64: remove trace_hardirqs_fixup from DO_ERROR_INFO macro
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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index 9c0ac0cab013..9f487f374c72 100644 --- a/arch/x86/kernel/traps_64.c +++ b/arch/x86/kernel/traps_64.c | |||
@@ -658,7 +658,6 @@ asmlinkage void do_##name(struct pt_regs *regs, long error_code) \ | |||
658 | info.si_errno = 0; \ | 658 | info.si_errno = 0; \ |
659 | info.si_code = sicode; \ | 659 | info.si_code = sicode; \ |
660 | info.si_addr = (void __user *)siaddr; \ | 660 | info.si_addr = (void __user *)siaddr; \ |
661 | trace_hardirqs_fixup(); \ | ||
662 | if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \ | 661 | if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \ |
663 | == NOTIFY_STOP) \ | 662 | == NOTIFY_STOP) \ |
664 | return; \ | 663 | return; \ |