diff options
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 0cbe8c0b35ed..ee9203a17d67 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -165,8 +165,6 @@ static void unmap_cpu_to_node(int cpu) | |||
165 | #endif | 165 | #endif |
166 | 166 | ||
167 | #ifdef CONFIG_X86_32 | 167 | #ifdef CONFIG_X86_32 |
168 | static int boot_cpu_logical_apicid; | ||
169 | |||
170 | u8 cpu_2_logical_apicid[NR_CPUS] __read_mostly = | 168 | u8 cpu_2_logical_apicid[NR_CPUS] __read_mostly = |
171 | { [0 ... NR_CPUS-1] = BAD_APICID }; | 169 | { [0 ... NR_CPUS-1] = BAD_APICID }; |
172 | 170 | ||
@@ -1096,9 +1094,7 @@ void __init native_smp_prepare_cpus(unsigned int max_cpus) | |||
1096 | * Setup boot CPU information | 1094 | * Setup boot CPU information |
1097 | */ | 1095 | */ |
1098 | smp_store_cpu_info(0); /* Final full version of the data */ | 1096 | smp_store_cpu_info(0); /* Final full version of the data */ |
1099 | #ifdef CONFIG_X86_32 | 1097 | |
1100 | boot_cpu_logical_apicid = logical_smp_processor_id(); | ||
1101 | #endif | ||
1102 | current_thread_info()->cpu = 0; /* needed? */ | 1098 | current_thread_info()->cpu = 0; /* needed? */ |
1103 | for_each_possible_cpu(i) { | 1099 | for_each_possible_cpu(i) { |
1104 | zalloc_cpumask_var(&per_cpu(cpu_sibling_map, i), GFP_KERNEL); | 1100 | zalloc_cpumask_var(&per_cpu(cpu_sibling_map, i), GFP_KERNEL); |