x86/apic/ipi: Tidy up the code and fixup comments
authorThomas Gleixner <tglx@linutronix.de>
Tue, 8 Aug 2023 22:04:03 +0000 (15:04 -0700)
committerDave Hansen <dave.hansen@linux.intel.com>
Wed, 9 Aug 2023 18:58:27 +0000 (11:58 -0700)
commit01363d4f762c3fb7285cc5bb0fdd23356dbacbef
tree04bed484dc1af3f90d7e5221fe0698ff2a485797
parent5a3a46bd161d76f117b030ece0eb0de0dfe3ba59
x86/apic/ipi: Tidy up the code and fixup comments

Replace the undecodable comment on top of the function, replace the space
consuming zero content comments with useful ones and tidy up the
implementation to prevent further eye bleed.

Make __default_send_IPI_shortcut() static as it has no other users.

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/ipi.c
arch/x86/kernel/apic/local.h