summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/apic/local.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2023-08-09 01:04:03 +0300
committerDave Hansen <dave.hansen@linux.intel.com>2023-08-09 21:58:27 +0300
commit01363d4f762c3fb7285cc5bb0fdd23356dbacbef (patch)
tree04bed484dc1af3f90d7e5221fe0698ff2a485797 /arch/x86/kernel/apic/local.h
parent5a3a46bd161d76f117b030ece0eb0de0dfe3ba59 (diff)
downloadlinux-01363d4f762c3fb7285cc5bb0fdd23356dbacbef.tar.xz
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)
Diffstat (limited to 'arch/x86/kernel/apic/local.h')
-rw-r--r--arch/x86/kernel/apic/local.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/local.h b/arch/x86/kernel/apic/local.h
index 0c477110baaf..5b0a0e78ba6c 100644
--- a/arch/x86/kernel/apic/local.h
+++ b/arch/x86/kernel/apic/local.h
@@ -44,8 +44,6 @@ static inline unsigned int __prepare_ICR(unsigned int shortcut, int vector,
void default_init_apic_ldr(void);
-void __default_send_IPI_shortcut(unsigned int shortcut, int vector);
-
/*
* This is used to send an IPI with no shorthand notation (the destination is
* specified in bits 56 to 63 of the ICR).