]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: build fix
authorIngo Molnar <mingo@elte.hu>
Fri, 31 Oct 2008 08:31:38 +0000 (09:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 31 Oct 2008 08:31:38 +0000 (09:31 +0100)
Impact: build fix on certain UP configs

fix:

 arch/x86/kernel/cpu/common.c: In function 'cpu_init':
 arch/x86/kernel/cpu/common.c:1141: error: 'boot_cpu_id' undeclared (first use in this function)
 arch/x86/kernel/cpu/common.c:1141: error: (Each undeclared identifier is reported only once
 arch/x86/kernel/cpu/common.c:1141: error: for each function it appears in.)

Pull in asm/smp.h on UP, so that we get the definition of
boot_cpu_id.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/common.c

index 003a65395bd5b31e3d38329962ffc3cbc8c29807..b9c9ea0217a9b1fd4581f27fed692aaa6fe167ee 100644 (file)
@@ -20,6 +20,7 @@
 #include <asm/pat.h>
 #include <asm/asm.h>
 #include <asm/numa.h>
+#include <asm/smp.h>
 #ifdef CONFIG_X86_LOCAL_APIC
 #include <asm/mpspec.h>
 #include <asm/apic.h>