diff options
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 820c23dbe761..67af727f733a 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -181,7 +181,7 @@ static void map_cpu_to_logical_apicid(void) | |||
181 | map_cpu_to_node(cpu, node); | 181 | map_cpu_to_node(cpu, node); |
182 | } | 182 | } |
183 | 183 | ||
184 | static void numa_remove_cpu(int cpu) | 184 | void numa_remove_cpu(int cpu) |
185 | { | 185 | { |
186 | cpu_2_logical_apicid[cpu] = BAD_APICID; | 186 | cpu_2_logical_apicid[cpu] = BAD_APICID; |
187 | unmap_cpu_to_node(cpu); | 187 | unmap_cpu_to_node(cpu); |
@@ -1227,23 +1227,6 @@ void __init native_smp_cpus_done(unsigned int max_cpus) | |||
1227 | 1227 | ||
1228 | #ifdef CONFIG_HOTPLUG_CPU | 1228 | #ifdef CONFIG_HOTPLUG_CPU |
1229 | 1229 | ||
1230 | # ifdef CONFIG_X86_32 | ||
1231 | void cpu_exit_clear(void) | ||
1232 | { | ||
1233 | int cpu = raw_smp_processor_id(); | ||
1234 | |||
1235 | idle_task_exit(); | ||
1236 | |||
1237 | cpu_uninit(); | ||
1238 | irq_ctx_exit(cpu); | ||
1239 | |||
1240 | cpu_clear(cpu, cpu_callout_map); | ||
1241 | cpu_clear(cpu, cpu_callin_map); | ||
1242 | |||
1243 | numa_remove_cpu(cpu); | ||
1244 | } | ||
1245 | # endif /* CONFIG_X86_32 */ | ||
1246 | |||
1247 | static void remove_siblinginfo(int cpu) | 1230 | static void remove_siblinginfo(int cpu) |
1248 | { | 1231 | { |
1249 | int sibling; | 1232 | int sibling; |