x86/ioapic: Simplify setup_ioapic_ids_from_mpc_nocheck()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 Feb 2024 21:04:59 +0000 (22:04 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Feb 2024 21:07:39 +0000 (22:07 +0100)
commit4b99e735a5c6cb3c8b23fba522cb1d24a1679f94
tree7e1eb347a2d5c0c6cf7e8124a424ee3d2356655f
parent533535afc079b745ae8a5fd06afd2ba51b3495fe
x86/ioapic: Simplify setup_ioapic_ids_from_mpc_nocheck()

No need to go through APIC callbacks. It's already established that this is
an ancient APIC. So just copy the present mask and use the direct physid*
functions all over the place.

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.181901887@linutronix.de
arch/x86/kernel/apic/io_apic.c