aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/nmi_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/nmi_32.c')
-rw-r--r--arch/x86/kernel/nmi_32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/nmi_32.c b/arch/x86/kernel/nmi_32.c
index 5562dab0bd20..11008e0857c0 100644
--- a/arch/x86/kernel/nmi_32.c
+++ b/arch/x86/kernel/nmi_32.c
@@ -218,7 +218,7 @@ static void __acpi_nmi_enable(void *__unused)
218void acpi_nmi_enable(void) 218void acpi_nmi_enable(void)
219{ 219{
220 if (atomic_read(&nmi_active) && nmi_watchdog == NMI_IO_APIC) 220 if (atomic_read(&nmi_active) && nmi_watchdog == NMI_IO_APIC)
221 on_each_cpu(__acpi_nmi_enable, NULL, 0, 1); 221 on_each_cpu(__acpi_nmi_enable, NULL, 1);
222} 222}
223 223
224static void __acpi_nmi_disable(void *__unused) 224static void __acpi_nmi_disable(void *__unused)
@@ -232,7 +232,7 @@ static void __acpi_nmi_disable(void *__unused)
232void acpi_nmi_disable(void) 232void acpi_nmi_disable(void)
233{ 233{
234 if (atomic_read(&nmi_active) && nmi_watchdog == NMI_IO_APIC) 234 if (atomic_read(&nmi_active) && nmi_watchdog == NMI_IO_APIC)
235 on_each_cpu(__acpi_nmi_disable, NULL, 0, 1); 235 on_each_cpu(__acpi_nmi_disable, NULL, 1);
236} 236}
237 237
238void setup_apic_nmi_watchdog(void *unused) 238void setup_apic_nmi_watchdog(void *unused)