mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
8b1c870f19
commit
a491503e4d
|
@ -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);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue