summaryrefslogtreecommitdiff
path: root/tools/objtool/elf.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2020-08-18 16:57:44 +0300
committerIngo Molnar <mingo@kernel.org>2020-09-01 10:58:05 +0300
commite6d6c071f22de29e4993784fc00cd2202b7ba149 (patch)
treebae18c77a906997cabae12110f0c759a28856a65 /tools/objtool/elf.c
parent6333e8f73b834f54e395a056e6002403f0862c51 (diff)
downloadlinux-e6d6c071f22de29e4993784fc00cd2202b7ba149.tar.xz
x86/static_call: Add out-of-line static call implementation
Add the x86 out-of-line static call implementation. For each key, a permanent trampoline is created which is the destination for all static calls for the given key. The trampoline has a direct jump which gets patched by static_call_update() when the destination function changes. [peterz: fixed trampoline, rewrote patching code] Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: https://lore.kernel.org/r/20200818135804.804315175@infradead.org
Diffstat (limited to 'tools/objtool/elf.c')
0 files changed, 0 insertions, 0 deletions