diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-10-26 14:01:36 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-10-28 23:25:25 +0200 |
commit | 134ab5bd1883312d7a4b3033b05c6b5a1bb8889b (patch) | |
tree | 39d11f68c60a068c6d5ed56688e89a3907fe0ad4 /drivers | |
parent | c509331b41b7365e17396c246e8c5797bccc8074 (diff) | |
download | linux-stable-134ab5bd1883312d7a4b3033b05c6b5a1bb8889b.tar.gz linux-stable-134ab5bd1883312d7a4b3033b05c6b5a1bb8889b.tar.bz2 linux-stable-134ab5bd1883312d7a4b3033b05c6b5a1bb8889b.zip |
objtool,x86: Replace alternatives with .retpoline_sites
Instead of writing complete alternatives, simply provide a list of all
the retpoline thunk calls. Then the kernel is free to do with them as
it pleases. Simpler code all-round.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Tested-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/r/20211026120309.850007165@infradead.org
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions