x86/hyperv/vtl: Prepare for separate mpparse callbacks
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 Feb 2024 21:05:13 +0000 (22:05 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Feb 2024 21:07:41 +0000 (22:07 +0100)
Initialize the new callbacks in preparation for switching the core code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mhklinux@outlook.com>
Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Link: https://lore.kernel.org/r/20240212154639.808238769@linutronix.de
arch/x86/hyperv/hv_vtl.c

index 96e6c51515f50467efbf7cb77082c6b9d18cb8f6..f573cac4650354f623403564d63eec491a6be798 100644 (file)
@@ -26,7 +26,9 @@ void __init hv_vtl_init_platform(void)
        x86_init.timers.timer_init = x86_init_noop;
 
        /* Avoid searching for BIOS MP tables */
-       x86_init.mpparse.find_smp_config = x86_init_noop;
+       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.get_smp_config = x86_init_uint_noop;
 
        x86_platform.get_wallclock = get_rtc_noop;