aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/nmi_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/nmi_64.c')
-rw-r--r--arch/x86/kernel/nmi_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/nmi_64.c b/arch/x86/kernel/nmi_64.c
index 2f1e4f503c9e..bbdcb17b3dfe 100644
--- a/arch/x86/kernel/nmi_64.c
+++ b/arch/x86/kernel/nmi_64.c
@@ -225,7 +225,7 @@ static void __acpi_nmi_enable(void *__unused)
225void acpi_nmi_enable(void) 225void acpi_nmi_enable(void)
226{ 226{
227 if (atomic_read(&nmi_active) && nmi_watchdog == NMI_IO_APIC) 227 if (atomic_read(&nmi_active) && nmi_watchdog == NMI_IO_APIC)
228 on_each_cpu(__acpi_nmi_enable, NULL, 0, 1); 228 on_each_cpu(__acpi_nmi_enable, NULL, 1);
229} 229}
230 230
231static void __acpi_nmi_disable(void *__unused) 231static void __acpi_nmi_disable(void *__unused)
@@ -239,7 +239,7 @@ static void __acpi_nmi_disable(void *__unused)
239void acpi_nmi_disable(void) 239void acpi_nmi_disable(void)
240{ 240{
241 if (atomic_read(&nmi_active) && nmi_watchdog == NMI_IO_APIC) 241 if (atomic_read(&nmi_active) && nmi_watchdog == NMI_IO_APIC)
242 on_each_cpu(__acpi_nmi_disable, NULL, 0, 1); 242 on_each_cpu(__acpi_nmi_disable, NULL, 1);
243} 243}
244 244
245void setup_apic_nmi_watchdog(void *unused) 245void setup_apic_nmi_watchdog(void *unused)