x86: I/O APIC: Include <asm/i8259.h> required by some code
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 14 Jul 2008 16:18:04 +0000 (17:18 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jul 2008 12:27:38 +0000 (14:27 +0200)
Include <asm/i8259.h> for i8259A_lock used in print_PIC() -- #if-0-ed out
by default.  The 32-bit version gets it right already.

The plan is to enable this code with "apic=debug" eventually.  This will
aid with debugging strange problems without the need to ask people to
apply patches.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic_64.c

index 6510cde..834b06a 100644 (file)
@@ -45,6 +45,7 @@
 #include <asm/proto.h>
 #include <asm/acpi.h>
 #include <asm/dma.h>
+#include <asm/i8259.h>
 #include <asm/nmi.h>
 #include <asm/msidef.h>
 #include <asm/hypertransport.h>