|
@@ -181,7 +181,7 @@ static void map_cpu_to_logical_apicid(void)
|
|
map_cpu_to_node(cpu, node);
|
|
map_cpu_to_node(cpu, node);
|
|
}
|
|
}
|
|
|
|
|
|
-static void numa_remove_cpu(int cpu)
|
|
|
|
|
|
+void numa_remove_cpu(int cpu)
|
|
{
|
|
{
|
|
cpu_2_logical_apicid[cpu] = BAD_APICID;
|
|
cpu_2_logical_apicid[cpu] = BAD_APICID;
|
|
unmap_cpu_to_node(cpu);
|
|
unmap_cpu_to_node(cpu);
|
|
@@ -1227,23 +1227,6 @@ void __init native_smp_cpus_done(unsigned int max_cpus)
|
|
|
|
|
|
#ifdef CONFIG_HOTPLUG_CPU
|
|
#ifdef CONFIG_HOTPLUG_CPU
|
|
|
|
|
|
-# ifdef CONFIG_X86_32
|
|
|
|
-void cpu_exit_clear(void)
|
|
|
|
-{
|
|
|
|
- int cpu = raw_smp_processor_id();
|
|
|
|
-
|
|
|
|
- idle_task_exit();
|
|
|
|
-
|
|
|
|
- cpu_uninit();
|
|
|
|
- irq_ctx_exit(cpu);
|
|
|
|
-
|
|
|
|
- cpu_clear(cpu, cpu_callout_map);
|
|
|
|
- cpu_clear(cpu, cpu_callin_map);
|
|
|
|
-
|
|
|
|
- numa_remove_cpu(cpu);
|
|
|
|
-}
|
|
|
|
-# endif /* CONFIG_X86_32 */
|
|
|
|
-
|
|
|
|
static void remove_siblinginfo(int cpu)
|
|
static void remove_siblinginfo(int cpu)
|
|
{
|
|
{
|
|
int sibling;
|
|
int sibling;
|