diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-10-31 08:31:38 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-31 08:31:38 (GMT) |
commit | b342797c1e5116a130841527b47dfaa462ed0968 (patch) | |
tree | 7ffc149cc914c1ba1ba19e0806f84843b1453643 /arch/x86 | |
parent | 721d5dfe7e516954c501d5e9d0dfab379cf4241a (diff) | |
download | linux-b342797c1e5116a130841527b47dfaa462ed0968.tar.xz |
x86: build fix
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>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index 003a653..b9c9ea0 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -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> |