aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaurabh Sengar <[email protected]>2024-04-02 07:40:27 -0700
committerIngo Molnar <[email protected]>2024-04-03 08:46:08 +0200
commitfe5e6b599fbc417662c549c04d278a13098eb52a (patch)
treebf6fa6a7fd93eb5f9977bc26aa7e25847c9701a8
parent39cd87c4eb2b893354f3b850f916353f2658ae6f (diff)
x86/hyperv/vtl: Correct x86_init.mpparse.parse_smp_cfg assignment
VTL platform uses DeviceTree for fetching SMP configuration, assign the correct parsing function x86_dtb_parse_smp_config() for it to parse_smp_cfg. Fixes: c22e19cd2c8a ("x86/hyperv/vtl: Prepare for separate mpparse callbacks") Signed-off-by: Saurabh Sengar <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--arch/x86/hyperv/hv_vtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/hyperv/hv_vtl.c b/arch/x86/hyperv/hv_vtl.c
index 5c7de79423b8..3efd0e03b916 100644
--- a/arch/x86/hyperv/hv_vtl.c
+++ b/arch/x86/hyperv/hv_vtl.c
@@ -34,7 +34,7 @@ void __init hv_vtl_init_platform(void)
/* Avoid searching for BIOS MP tables */
x86_init.mpparse.find_mptable = x86_init_noop;
x86_init.mpparse.early_parse_smp_cfg = x86_init_noop;
- x86_init.mpparse.parse_smp_cfg = x86_init_noop;
+ x86_init.mpparse.parse_smp_cfg = x86_dtb_parse_smp_config;
x86_platform.get_wallclock = get_rtc_noop;
x86_platform.set_wallclock = set_rtc_noop;