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

x86: call identify_secondary_cpu in smp_store_cpu_info

Call it conditionally for secondary cpus. This behaviour
matches i386
Signed-off-by: NGlauber Costa <gcosta@redhat.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 5745abfe
......@@ -96,7 +96,8 @@ static void __cpuinit smp_store_cpu_info(int id)
*c = boot_cpu_data;
c->cpu_index = id;
identify_cpu(c);
if (id != 0)
identify_secondary_cpu(c);
}
static inline void wait_for_init_deassert(atomic_t *deassert)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册