x86/mpparse: Use new APIC registration function
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 Feb 2024 21:05:42 +0000 (22:05 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Feb 2024 21:07:42 +0000 (22:07 +0100)
commit8098428c541212e9835c1771ee90caa968ffef4f
tree0f44b36870749b3d1042714566b6aeaae31f9a54
parent7d319c0fcae68e489fcf806cdea46a795062eaf7
x86/mpparse: Use new APIC registration function

Aside of switching over to the new interface, record the number of
registered CPUs locally, which allows to make num_processors and
disabled_cpus confined to the topology code.

No functional change intended.

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/20240213210251.830955273@linutronix.de
arch/x86/include/asm/mpspec.h
arch/x86/kernel/cpu/topology.c
arch/x86/kernel/mpparse.c