summaryrefslogtreecommitdiffstats
path: root/tools/arch
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2023-08-09 00:04:24 +0200
committerDave Hansen <dave.hansen@linux.intel.com>2023-08-09 21:00:55 +0200
commitf8542a55499a69a859c84866b66f0df43933e563 (patch)
tree58ddbf3804692d3ca7687fccbad05a4c9bf39745 /tools/arch
parentx86/apic: Provide static call infrastructure for APIC callbacks (diff)
downloadlinux-f8542a55499a69a859c84866b66f0df43933e563.tar.xz
linux-f8542a55499a69a859c84866b66f0df43933e563.zip
x86/apic: Turn on static calls
Convert all the APIC callback inline wrappers from apic->foo() to static_call(apic_call_foo)(), except for the safe_wait_icr_idle() one which is only used during SMP bringup when sending INIT/SIPI. That really can do the conditional callback. The regular wait_icr_idle() matters as it is used in irq_work_raise(), so X2APIC machines spare the conditional. 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: Juergen Gross <jgross@suse.com> # Xen PV (dom0 and unpriv. guest) Tested-by: Michael Kelley <mikelley@microsoft.com> Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Diffstat (limited to 'tools/arch')
0 files changed, 0 insertions, 0 deletions