]> www.infradead.org Git - users/jedix/linux-maple.git/commit
static_call_inline: Provide trampoline address when updating sites
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 3 Dec 2024 19:44:49 +0000 (20:44 +0100)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Wed, 26 Feb 2025 15:39:43 +0000 (21:09 +0530)
commitd856bc3ac7d9ca88b3f52d8e08e58ce892dc3ce1
tree16ef1c4e669de8b800c447f0f93fff5ae20d99bc
parent65acbd1285f7fe8c8b82cb90e4db923db5b9fe03
static_call_inline: Provide trampoline address when updating sites

In preparation of support of inline static calls on powerpc, provide
trampoline address when updating sites, so that when the destination
function is too far for a direct function call, the call site is
patched with a call to the trampoline.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/5efe0cffc38d6f69b1ec13988a99f1acff551abf.1733245362.git.christophe.leroy@csgroup.eu
arch/x86/kernel/static_call.c
kernel/static_call_inline.c