Skip to content

Commit

Permalink
traps: x86_64: remove trace_hardirqs_fixup from debug handler
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander van Heukelum authored and Ingo Molnar committed Oct 13, 2008
1 parent 8b1c870 commit a491503
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/kernel/traps_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/*
Expand Down

0 comments on commit a491503

Please sign in to comment.