提交 e7f8b14e 编写于 作者: G Glauber de Oliveira Costa 提交者: Ingo Molnar

x86: don't initialize sibling and core maps during preparation

it is redundant, since it is already done by set_cpu_sibling_map()
Signed-off-by: NGlauber Costa <gcosta@redhat.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 50e440aa
......@@ -855,18 +855,6 @@ static void __init smp_boot_cpus(unsigned int max_cpus)
++kicked;
}
/*
* construct cpu_sibling_map, so that we can tell sibling CPUs
* efficiently.
*/
for_each_possible_cpu(cpu) {
cpus_clear(per_cpu(cpu_sibling_map, cpu));
cpus_clear(per_cpu(cpu_core_map, cpu));
}
cpu_set(0, per_cpu(cpu_sibling_map, 0));
cpu_set(0, per_cpu(cpu_core_map, 0));
smpboot_setup_io_apic();
setup_boot_clock();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册