diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-04-08 06:20:07 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:32 -0400 |
commit | 7abb3cca33fe220abaf680afcd247370749622ee (patch) | |
tree | 7a1a37f401000527d7849b9f217a7a43a3bad067 /arch/x86 | |
parent | 3f530709d907d93a4d6881e8190916028181a840 (diff) |
x86: move phys cpu present map to smpboot.c, 64-bit, prepare
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/mpparse_64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/mpparse_64.c b/arch/x86/kernel/mpparse_64.c index a91e21ebf1ca..f044e98800ef 100644 --- a/arch/x86/kernel/mpparse_64.c +++ b/arch/x86/kernel/mpparse_64.c | |||
@@ -68,9 +68,11 @@ unsigned disabled_cpus __cpuinitdata; | |||
68 | /* Bitmask of physically existing CPUs */ | 68 | /* Bitmask of physically existing CPUs */ |
69 | physid_mask_t phys_cpu_present_map = PHYSID_MASK_NONE; | 69 | physid_mask_t phys_cpu_present_map = PHYSID_MASK_NONE; |
70 | 70 | ||
71 | #ifdef CONFIG_SMP | ||
71 | u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata | 72 | u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata |
72 | = {[0 ... NR_CPUS - 1] = BAD_APICID }; | 73 | = {[0 ... NR_CPUS - 1] = BAD_APICID }; |
73 | void *x86_bios_cpu_apicid_early_ptr; | 74 | void *x86_bios_cpu_apicid_early_ptr; |
75 | #endif | ||
74 | DEFINE_PER_CPU(u16, x86_bios_cpu_apicid) = BAD_APICID; | 76 | DEFINE_PER_CPU(u16, x86_bios_cpu_apicid) = BAD_APICID; |
75 | EXPORT_PER_CPU_SYMBOL(x86_bios_cpu_apicid); | 77 | EXPORT_PER_CPU_SYMBOL(x86_bios_cpu_apicid); |
76 | 78 | ||