diff options
author | Peter Zijlstra <[email protected]> | 2021-10-26 14:01:43 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2021-10-28 23:25:28 +0200 |
commit | 2f0cbb2a8e5bbf101e9de118fc0eb168111a5e1e (patch) | |
tree | ea3435712f5e8b8a09d1a06e38da15d9b7f126bf /net/lapb/lapb_timer.c | |
parent | 7508500900814d14e2e085cdc4e28142721abbdf (diff) |
x86/alternative: Handle Jcc __x86_indirect_thunk_\reg
Handle the rare cases where the compiler (clang) does an indirect
conditional tail-call using:
Jcc __x86_indirect_thunk_\reg
For the !RETPOLINE case this can be rewritten to fit the original (6
byte) instruction like:
Jncc.d8 1f
JMP *%\reg
NOP
1:
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Borislav Petkov <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Tested-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions