Skip to content

Commit f5a11c6

Browse files
committed
Revert "x86/hyperv: fix logical processor creation"
This reverts commit 450605c. Signed-off-by: Wei Liu <wei.liu@kernel.org>
1 parent 7c9ff3d commit f5a11c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/cpu/mshyperv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ static void __init hv_smp_prepare_cpus(unsigned int max_cpus)
237237
for_each_present_cpu(i) {
238238
if (i == 0)
239239
continue;
240-
ret = hv_call_add_logical_proc(numa_cpu_node(i), i, i);
240+
ret = hv_call_add_logical_proc(numa_cpu_node(i), i, cpu_physical_id(i));
241241
BUG_ON(ret);
242242
}
243243

0 commit comments

Comments
 (0)