X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-x86_64%2Fio_apic.h;h=7efc932e8f0b360ac8bce66e5099f1b55987b043;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=288296121af104636e12c4cd245488ccbf4255a7;hpb=9bf4aaab3e101692164d49b7ca357651eb691cb6;p=linux-2.6.git diff --git a/include/asm-x86_64/io_apic.h b/include/asm-x86_64/io_apic.h index 288296121..7efc932e8 100644 --- a/include/asm-x86_64/io_apic.h +++ b/include/asm-x86_64/io_apic.h @@ -199,7 +199,7 @@ extern int skip_ioapic_setup; * If we use the IO-APIC for IRQ routing, disable automatic * assignment of PCI IRQ's. */ -#define io_apic_assign_pci_irqs (mp_irq_entries && !skip_ioapic_setup) +#define io_apic_assign_pci_irqs (mp_irq_entries && !skip_ioapic_setup && io_apic_irqs) #ifdef CONFIG_ACPI_BOOT extern int io_apic_get_unique_id (int ioapic, int apic_id);