aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/traps.c')
-rw-r--r--arch/x86/kernel/traps.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c
index db30d9cb9dd6..f02c179c2552 100644
--- a/arch/x86/kernel/traps.c
+++ b/arch/x86/kernel/traps.c
@@ -437,14 +437,12 @@ do_nmi(struct pt_regs *regs, long error_code)
437 437
438void stop_nmi(void) 438void stop_nmi(void)
439{ 439{
440 acpi_nmi_disable();
441 ignore_nmis++; 440 ignore_nmis++;
442} 441}
443 442
444void restart_nmi(void) 443void restart_nmi(void)
445{ 444{
446 ignore_nmis--; 445 ignore_nmis--;
447 acpi_nmi_enable();
448} 446}
449 447
450/* May run on IST stack. */ 448/* May run on IST stack. */