diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-08-18 16:57:49 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-09-01 10:58:06 +0300 |
commit | 5b06fd3bb9cdce4f3e731c48eb5b74c4acc47997 (patch) | |
tree | 533fcad5bdd98fd31ccd3956dec2e3478f15ca91 /crypto/xts.c | |
parent | 452cddbff74b6a15b9354505671011700fe03710 (diff) | |
download | linux-5b06fd3bb9cdce4f3e731c48eb5b74c4acc47997.tar.xz |
static_call: Handle tail-calls
GCC can turn our static_call(name)(args...) into a tail call, in which
case we get a JMP.d32 into the trampoline (which then does a further
tail-call).
Teach objtool to recognise and mark these in .static_call_sites and
adjust the code patching to deal with this.
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/20200818135805.101186767@infradead.org
Diffstat (limited to 'crypto/xts.c')
0 files changed, 0 insertions, 0 deletions