diff options
Diffstat (limited to 'arch/x86/kernel/traps_64.c')
-rw-r--r-- | arch/x86/kernel/traps_64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index 1384e34a65a7..d11525ad81b4 100644 --- a/arch/x86/kernel/traps_64.c +++ b/arch/x86/kernel/traps_64.c | |||
@@ -853,6 +853,8 @@ asmlinkage void __kprobes do_debug(struct pt_regs * regs, | |||
853 | struct task_struct *tsk = current; | 853 | struct task_struct *tsk = current; |
854 | siginfo_t info; | 854 | siginfo_t info; |
855 | 855 | ||
856 | trace_hardirqs_fixup(); | ||
857 | |||
856 | get_debugreg(condition, 6); | 858 | get_debugreg(condition, 6); |
857 | 859 | ||
858 | if (notify_die(DIE_DEBUG, "debug", regs, condition, error_code, | 860 | if (notify_die(DIE_DEBUG, "debug", regs, condition, error_code, |