Commit f5a11c69 authored by Wei Liu's avatar Wei Liu

Revert "x86/hyperv: fix logical processor creation"

This reverts commit 450605c2.
Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment