Skip to content

Commit fe5e6b5

Browse files
Saurabh SengarIngo Molnar
authored andcommitted
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: c22e19c ("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]
1 parent 39cd87c commit fe5e6b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/hyperv/hv_vtl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void __init hv_vtl_init_platform(void)
3434
/* Avoid searching for BIOS MP tables */
3535
x86_init.mpparse.find_mptable = x86_init_noop;
3636
x86_init.mpparse.early_parse_smp_cfg = x86_init_noop;
37-
x86_init.mpparse.parse_smp_cfg = x86_init_noop;
37+
x86_init.mpparse.parse_smp_cfg = x86_dtb_parse_smp_config;
3838

3939
x86_platform.get_wallclock = get_rtc_noop;
4040
x86_platform.set_wallclock = set_rtc_noop;

0 commit comments

Comments
 (0)