summaryrefslogtreecommitdiffstats
path: root/arch/x86/pci
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-11-10 20:08:19 +0200
committerBjorn Helgaas <bhelgaas@google.com>2017-12-18 23:09:08 -0600
commit88e9ca161c1363395cbebf39c49307b4eabad9f0 (patch)
treef83a74ea0a11f0fe4f4b93359b3928c9ba032d5a /arch/x86/pci
parent1291a0d5049dbc06baaaf66a9ff3f53db493b19b (diff)
downloadop-kernel-dev-88e9ca161c1363395cbebf39c49307b4eabad9f0.zip
op-kernel-dev-88e9ca161c1363395cbebf39c49307b4eabad9f0.tar.gz
xen/pci: Use acpi_noirq_set() helper to avoid #ifdef
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>
Diffstat (limited to 'arch/x86/pci')
-rw-r--r--arch/x86/pci/xen.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c
index c4b3646..9542a746 100644
--- a/arch/x86/pci/xen.c
+++ b/arch/x86/pci/xen.c
@@ -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;
OpenPOWER on IntegriCloud