x86/apic/64: Uncopypaste probing
authorThomas Gleixner <tglx@linutronix.de>
Tue, 8 Aug 2023 22:04:08 +0000 (15:04 -0700)
committerDave Hansen <dave.hansen@linux.intel.com>
Wed, 9 Aug 2023 18:58:30 +0000 (11:58 -0700)
commitd65eb3195862d600b120b3f6481e016c312158cb
tree688991c281a46b8c2b22979e516b4e7c7d414cbd
parent96ae35c75bdd8a327c686cf39030d8ed7f82f558
x86/apic/64: Uncopypaste probing

No need for the same thing twice. Also prepares for simplifying the APIC ID
validation checks.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Tested-by: Juergen Gross <jgross@suse.com> # Xen PV (dom0 and unpriv. guest)
arch/x86/kernel/apic/probe_64.c