xen/pci: Use acpi_noirq_set() helper to avoid #ifdef
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 10 Nov 2017 18:08:19 +0000 (20:08 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 19 Dec 2017 05:09:08 +0000 (23:09 -0600)
No need to keep an #ifdef since we have a helper (in x86 world).  Use it
instead.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/xen.c

index c4b3646..9542a74 100644 (file)
@@ -409,10 +409,8 @@ int __init pci_xen_init(void)
        pcibios_enable_irq = xen_pcifront_enable_irq;
        pcibios_disable_irq = NULL;
 
-#ifdef CONFIG_ACPI
        /* Keep ACPI out of the picture */
-       acpi_noirq = 1;
-#endif
+       acpi_noirq_set();
 
 #ifdef CONFIG_PCI_MSI
        x86_msi.setup_msi_irqs = xen_setup_msi_irqs;