Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit88e9ca1

Browse files
andy-shevbjorn-helgaas
authored andcommitted
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 itinstead.Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
1 parent1291a0d commit88e9ca1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎arch/x86/pci/xen.c‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,8 @@ int __init pci_xen_init(void)
409409
pcibios_enable_irq=xen_pcifront_enable_irq;
410410
pcibios_disable_irq=NULL;
411411

412-
#ifdefCONFIG_ACPI
413412
/* Keep ACPI out of the picture */
414-
acpi_noirq=1;
415-
#endif
413+
acpi_noirq_set();
416414

417415
#ifdefCONFIG_PCI_MSI
418416
x86_msi.setup_msi_irqs=xen_setup_msi_irqs;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp