From: Wei Liu Date: Wed, 21 Jul 2021 15:55:43 +0000 (+0000) Subject: Revert "x86/hyperv: fix logical processor creation" X-Git-Tag: v5.15~680^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5a11c69b69923a4367d24365ad4dff6d4f3fc42;p=platform%2Fkernel%2Flinux-starfive.git Revert "x86/hyperv: fix logical processor creation" This reverts commit 450605c28d571eddca39a65fdbc1338add44c6d9. Signed-off-by: Wei Liu --- diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c index cc8f177..c890d67 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); }