summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorWei Liu <wei.liu@kernel.org>2021-07-21 18:55:43 +0300
committerWei Liu <wei.liu@kernel.org>2021-07-21 18:55:43 +0300
commitf5a11c69b69923a4367d24365ad4dff6d4f3fc42 (patch)
tree2bdd00472e9b785bd05038fa75c4ebe206dd6708 /arch
parent7c9ff3deeee61b253715dcf968a6307af148c9b2 (diff)
downloadlinux-f5a11c69b69923a4367d24365ad4dff6d4f3fc42.tar.xz
Revert "x86/hyperv: fix logical processor creation"
This reverts commit 450605c28d571eddca39a65fdbc1338add44c6d9. Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/cpu/mshyperv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c
index cc8f1773deca..c890d67a64ad 100644
--- a/arch/x86/kernel/cpu/mshyperv.c
+++ b/arch/x86/kernel/cpu/mshyperv.c
@@ -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);
}