Messages in this thread Patch in this message | | | Date | Mon, 14 Jul 2008 17:18:04 +0100 (BST) | From | "Maciej W. Rozycki" <> | Subject | [PATCH] x86: I/O APIC: Include <asm/i8259.h> required by some code |
| |
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.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> --- 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.
Maciej
patch-next-2.6.26-rc9-20080711-apic-pic-i8259-h-0 diff -up --recursive --new-file linux-next-2.6.26-rc9-20080711.macro/arch/x86/kernel/io_apic_64.c linux-next-2.6.26-rc9-20080711/arch/x86/kernel/io_apic_64.c --- linux-next-2.6.26-rc9-20080711.macro/arch/x86/kernel/io_apic_64.c 2008-07-14 15:44:12.000000000 +0000 +++ linux-next-2.6.26-rc9-20080711/arch/x86/kernel/io_apic_64.c 2008-07-14 15:47:19.000000000 +0000 @@ -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>
| |