diff options
Diffstat (limited to 'arch/x86/kernel/smpboot_32.c')
-rw-r--r-- | arch/x86/kernel/smpboot_32.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c index 2034332ad080..915ec6267326 100644 --- a/arch/x86/kernel/smpboot_32.c +++ b/arch/x86/kernel/smpboot_32.c | |||
@@ -91,15 +91,10 @@ static cpumask_t smp_commenced_mask; | |||
91 | DEFINE_PER_CPU_SHARED_ALIGNED(struct cpuinfo_x86, cpu_info); | 91 | DEFINE_PER_CPU_SHARED_ALIGNED(struct cpuinfo_x86, cpu_info); |
92 | EXPORT_PER_CPU_SYMBOL(cpu_info); | 92 | EXPORT_PER_CPU_SYMBOL(cpu_info); |
93 | 93 | ||
94 | /* | 94 | /* which logical CPU number maps to which CPU (physical APIC ID) */ |
95 | * The following static array is used during kernel startup | ||
96 | * and the x86_cpu_to_apicid_ptr contains the address of the | ||
97 | * array during this time. Is it zeroed when the per_cpu | ||
98 | * data area is removed. | ||
99 | */ | ||
100 | u8 x86_cpu_to_apicid_init[NR_CPUS] __initdata = | 95 | u8 x86_cpu_to_apicid_init[NR_CPUS] __initdata = |
101 | { [0 ... NR_CPUS-1] = BAD_APICID }; | 96 | { [0 ... NR_CPUS-1] = BAD_APICID }; |
102 | void *x86_cpu_to_apicid_ptr; | 97 | void *x86_cpu_to_apicid_early_ptr; |
103 | DEFINE_PER_CPU(u8, x86_cpu_to_apicid) = BAD_APICID; | 98 | DEFINE_PER_CPU(u8, x86_cpu_to_apicid) = BAD_APICID; |
104 | EXPORT_PER_CPU_SYMBOL(x86_cpu_to_apicid); | 99 | EXPORT_PER_CPU_SYMBOL(x86_cpu_to_apicid); |
105 | 100 | ||