projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f53070
)
x86: move phys cpu present map to smpboot.c, 64-bit, prepare
author
Ingo Molnar
<mingo@elte.hu>
Tue, 8 Apr 2008 10:20:07 +0000
(12:20 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 17 Apr 2008 15:41:32 +0000
(17:41 +0200)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/mpparse_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/mpparse_64.c
b/arch/x86/kernel/mpparse_64.c
index
a91e21e
..
f044e98
100644
(file)
--- a/
arch/x86/kernel/mpparse_64.c
+++ b/
arch/x86/kernel/mpparse_64.c
@@
-68,9
+68,11
@@
unsigned disabled_cpus __cpuinitdata;
/* Bitmask of physically existing CPUs */
physid_mask_t phys_cpu_present_map = PHYSID_MASK_NONE;
+#ifdef CONFIG_SMP
u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata
= {[0 ... NR_CPUS - 1] = BAD_APICID };
void *x86_bios_cpu_apicid_early_ptr;
+#endif
DEFINE_PER_CPU(u16, x86_bios_cpu_apicid) = BAD_APICID;
EXPORT_PER_CPU_SYMBOL(x86_bios_cpu_apicid);