Skip to contentSkip to conversation

missing io_apic.h inclusions

PATCH Jeff Garzik 1 participant 1 message Aug 21, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 15 lines · Linux Kernel Mailing List

diff -Nru a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c

arch/i386/kernel/acpi/boot.c +1 -0
@@ -34,6 +34,7 @@
 #if defined (CONFIG_X86_LOCAL_APIC)
 #include <mach_apic.h>
 #include <mach_mpparse.h>
+#include <asm/io_apic.h>
 #endif
 
 #define PREFIX			"ACPI: "

diff -Nru a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c

arch/i386/kernel/setup.c line 48

Quoted 6 lines
arch/i386/kernel/setup.c +1 -0
@@ -43,6 +43,7 @@
 #include <asm/setup.h>
 #include <asm/arch_hooks.h>
 #include <asm/sections.h>
+#include <asm/io_apic.h>
 #include "setup_arch_pre.h"
 #include "mach_resources.h"

Well, the first change looks pretty wrong just given the config option.
And, too, this was the false "build fix". The correct build fix was
committed, and this patch was not needed at all. I'll grant that the patch to setup.c does make sense, though, even if it's not strictly needed.

Jeff