x86, pic: Make use of legacy_pic abstraction
[sfrench/cifs-2.6.git] / arch / x86 / kernel / apic / nmi.c
index 0159a69396cba449a424190459a02d83a3f417d8..3817739acee9c0df3e77317fda6c3e7659f1e030 100644 (file)
@@ -177,7 +177,7 @@ int __init check_nmi_watchdog(void)
 error:
        if (nmi_watchdog == NMI_IO_APIC) {
                if (!timer_through_8259)
-                       disable_8259A_irq(0);
+                       legacy_pic->chip->mask(0);
                on_each_cpu(__acpi_nmi_disable, NULL, 1);
        }