x86/mpparse: Provide separate early/late callbacks
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 Feb 2024 21:05:03 +0000 (22:05 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Feb 2024 21:07:40 +0000 (22:07 +0100)
commitfc60fd009c830a21c7699c6e36ab9ec51b9dd939
tree6f6f5b7207576859e547dfe6cf8095e57422a89d
parente061c7ae0830ff320d77566849a5cc30decfa602
x86/mpparse: Provide separate early/late callbacks

The early argument of x86_init::mpparse::get_smp_config() is more than
confusing. Provide two callbacks, one for each purpose.

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.370491894@linutronix.de
arch/x86/include/asm/x86_init.h