diff options
-rw-r--r-- | arch/x86/kernel/apic/nmi.c | 7 | ||||
-rw-r--r-- | arch/x86/kernel/traps.c | 5 |
2 files changed, 5 insertions, 7 deletions
diff --git a/arch/x86/kernel/apic/nmi.c b/arch/x86/kernel/apic/nmi.c index 0159a69396cb..5d47682f580b 100644 --- a/arch/x86/kernel/apic/nmi.c +++ b/arch/x86/kernel/apic/nmi.c | |||
@@ -400,13 +400,6 @@ nmi_watchdog_tick(struct pt_regs *regs, unsigned reason) | |||
400 | int cpu = smp_processor_id(); | 400 | int cpu = smp_processor_id(); |
401 | int rc = 0; | 401 | int rc = 0; |
402 | 402 | ||
403 | /* check for other users first */ | ||
404 | if (notify_die(DIE_NMI, "nmi", regs, reason, 2, SIGINT) | ||
405 | == NOTIFY_STOP) { | ||
406 | rc = 1; | ||
407 | touched = 1; | ||
408 | } | ||
409 | |||
410 | sum = get_timer_irqs(cpu); | 403 | sum = get_timer_irqs(cpu); |
411 | 404 | ||
412 | if (__get_cpu_var(nmi_touch)) { | 405 | if (__get_cpu_var(nmi_touch)) { |
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index 1168e4454188..51ef893ffa65 100644 --- a/arch/x86/kernel/traps.c +++ b/arch/x86/kernel/traps.c | |||
@@ -400,7 +400,12 @@ static notrace __kprobes void default_do_nmi(struct pt_regs *regs) | |||
400 | if (notify_die(DIE_NMI_IPI, "nmi_ipi", regs, reason, 2, SIGINT) | 400 | if (notify_die(DIE_NMI_IPI, "nmi_ipi", regs, reason, 2, SIGINT) |
401 | == NOTIFY_STOP) | 401 | == NOTIFY_STOP) |
402 | return; | 402 | return; |
403 | |||
403 | #ifdef CONFIG_X86_LOCAL_APIC | 404 | #ifdef CONFIG_X86_LOCAL_APIC |
405 | if (notify_die(DIE_NMI, "nmi", regs, reason, 2, SIGINT) | ||
406 | == NOTIFY_STOP) | ||
407 | return; | ||
408 | |||
404 | /* | 409 | /* |
405 | * Ok, so this is none of the documented NMI sources, | 410 | * Ok, so this is none of the documented NMI sources, |
406 | * so it must be the NMI watchdog. | 411 | * so it must be the NMI watchdog. |