Commit 88e9ca16 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Bjorn Helgaas

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 1291a0d5
...@@ -409,10 +409,8 @@ int __init pci_xen_init(void) ...@@ -409,10 +409,8 @@ int __init pci_xen_init(void)
pcibios_enable_irq = xen_pcifront_enable_irq; pcibios_enable_irq = xen_pcifront_enable_irq;
pcibios_disable_irq = NULL; pcibios_disable_irq = NULL;
#ifdef CONFIG_ACPI
/* Keep ACPI out of the picture */ /* Keep ACPI out of the picture */
acpi_noirq = 1; acpi_noirq_set();
#endif
#ifdef CONFIG_PCI_MSI #ifdef CONFIG_PCI_MSI
x86_msi.setup_msi_irqs = xen_setup_msi_irqs; x86_msi.setup_msi_irqs = xen_setup_msi_irqs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment