x86/apic: Move safe wait_icr_idle() next to apic_mem_wait_icr_idle()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 8 Aug 2023 22:04:06 +0000 (15:04 -0700)
committerDave Hansen <dave.hansen@linux.intel.com>
Wed, 9 Aug 2023 18:58:29 +0000 (11:58 -0700)
commite7b6a023d2c90fcd540a29bbf5bd4e1b816e613c
tree63fe2d238f30b62e6b6b1b24437e91ae917f2086
parent13d779fd26afd6e0a7aec899ab8a0eea6620fee7
x86/apic: Move safe wait_icr_idle() next to apic_mem_wait_icr_idle()

Move it next to apic_mem_wait_icr_idle(), rename it so that it's clear what
it does and rewrite it in readable form.

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/include/asm/apic.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/apic/apic_flat_64.c
arch/x86/kernel/apic/bigsmp_32.c
arch/x86/kernel/apic/ipi.c
arch/x86/kernel/apic/local.h
arch/x86/kernel/apic/probe_32.c