diff options
Diffstat (limited to 'arch/x86/kernel/traps_32.c')
-rw-r--r-- | arch/x86/kernel/traps_32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index 0a4c89382479..ef6010262597 100644 --- a/arch/x86/kernel/traps_32.c +++ b/arch/x86/kernel/traps_32.c | |||
@@ -833,6 +833,8 @@ fastcall void __kprobes do_debug(struct pt_regs * regs, long error_code) | |||
833 | unsigned int condition; | 833 | unsigned int condition; |
834 | struct task_struct *tsk = current; | 834 | struct task_struct *tsk = current; |
835 | 835 | ||
836 | trace_hardirqs_fixup(); | ||
837 | |||
836 | get_debugreg(condition, 6); | 838 | get_debugreg(condition, 6); |
837 | 839 | ||
838 | if (notify_die(DIE_DEBUG, "debug", regs, condition, error_code, | 840 | if (notify_die(DIE_DEBUG, "debug", regs, condition, error_code, |