diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-05-06 21:34:03 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2021-05-12 14:54:56 +0200 |
commit | 6d37b83c5d79ef5996cc49c3e3ac3d8ecd8c7050 (patch) | |
tree | 1432c860d584cab33eb9d9c253bd7a819c108c1a /kernel/static_call.c | |
parent | cbf82a3dc241aea82b941a872ed5c52f6af527ea (diff) | |
download | linux-stable-6d37b83c5d79ef5996cc49c3e3ac3d8ecd8c7050.tar.gz linux-stable-6d37b83c5d79ef5996cc49c3e3ac3d8ecd8c7050.tar.bz2 linux-stable-6d37b83c5d79ef5996cc49c3e3ac3d8ecd8c7050.zip |
objtool: Rewrite jump_label instructions
When a jump_entry::key has bit1 set, rewrite the instruction to be a
NOP. This allows the compiler/assembler to emit JMP (and thus decide
on which encoding to use).
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210506194158.091028792@infradead.org
Diffstat (limited to 'kernel/static_call.c')
0 files changed, 0 insertions, 0 deletions