提交 a491503e 编写于 作者: A Alexander van Heukelum 提交者: Ingo Molnar

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: NAlexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 8b1c870f
...@@ -899,8 +899,6 @@ asmlinkage void __kprobes do_debug(struct pt_regs *regs, ...@@ -899,8 +899,6 @@ asmlinkage void __kprobes do_debug(struct pt_regs *regs,
unsigned long condition; unsigned long condition;
siginfo_t info; siginfo_t info;
trace_hardirqs_fixup();
get_debugreg(condition, 6); get_debugreg(condition, 6);
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册