提交 f5a11c69 编写于 作者: W Wei Liu

Revert "x86/hyperv: fix logical processor creation"

This reverts commit 450605c2.
Signed-off-by: NWei Liu <wei.liu@kernel.org>
上级 7c9ff3de
......@@ -237,7 +237,7 @@ static void __init hv_smp_prepare_cpus(unsigned int max_cpus)
for_each_present_cpu(i) {
if (i == 0)
continue;
ret = hv_call_add_logical_proc(numa_cpu_node(i), i, i);
ret = hv_call_add_logical_proc(numa_cpu_node(i), i, cpu_physical_id(i));
BUG_ON(ret);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册