Skip to content

Commit

Permalink
Revert "x86/hyperv: fix logical processor creation"
Browse files Browse the repository at this point in the history
This reverts commit 450605c.

Signed-off-by: Wei Liu <wei.liu@kernel.org>
  • Loading branch information
Wei Liu committed Jul 21, 2021
1 parent 7c9ff3d commit f5a11c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/cpu/mshyperv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit f5a11c6

Please sign in to comment.