IO-APIC in drivers/pci/quirks.c
PATCH 1/1 IO-APIC in drivers/pci/quirks.c
This patch moves the IO-APIC include inside #ifdef CONFIG_X86_IO_APIC , which is how Linux 2.6 has it. This is needed for architectures without asm/io_apic.h. I've verified that x86 still builds; please apply.
Signed-off-by Hollis Blanchard <[email protected]>
Signature · 2 lines
Hollis Blanchard IBM Linux Technology Center
===== xen/drivers/pci/quirks.c 1.9 vs edited =====
xen/drivers/pci/quirks.c +2 -1
@@ -18,7 +18,6 @@#include <xen/pci.h> #include <xen/init.h> #include <xen/delay.h> -#include <asm/io_apic.h> #undef DEBUG
@@ -332,6 +331,8 @@#ifdef CONFIG_X86_IO_APIC + +#include <asm/io_apic.h> /* * VIA 686A/B: If an IO-APIC is active, we need to route all on-chip