aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/traps.c')
-rw-r--r--arch/x86_64/kernel/traps.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86_64/kernel/traps.c b/arch/x86_64/kernel/traps.c
index b1249774d1e8..42bc070fdf11 100644
--- a/arch/x86_64/kernel/traps.c
+++ b/arch/x86_64/kernel/traps.c
@@ -781,12 +781,12 @@ asmlinkage __kprobes void default_do_nmi(struct pt_regs *regs)
781 * Ok, so this is none of the documented NMI sources, 781 * Ok, so this is none of the documented NMI sources,
782 * so it must be the NMI watchdog. 782 * so it must be the NMI watchdog.
783 */ 783 */
784 if (nmi_watchdog > 0) { 784 if (nmi_watchdog_tick(regs,reason))
785 nmi_watchdog_tick(regs,reason);
786 return; 785 return;
787 } 786 if (!do_nmi_callback(regs,cpu))
788#endif 787#endif
789 unknown_nmi_error(reason, regs); 788 unknown_nmi_error(reason, regs);
789
790 return; 790 return;
791 } 791 }
792 if (notify_die(DIE_NMI, "nmi", regs, reason, 2, SIGINT) == NOTIFY_STOP) 792 if (notify_die(DIE_NMI, "nmi", regs, reason, 2, SIGINT) == NOTIFY_STOP)