Skip to content
Commit 09d09531 authored by Peter Zijlstra's avatar Peter Zijlstra
Browse files

x86,nospec: Simplify {JMP,CALL}_NOSPEC



Have {JMP,CALL}_NOSPEC generate the same code GCC does for indirect
calls and rely on the objtool retpoline patching infrastructure.

There's no reason these should be alternatives while the vast bulk of
compiler generated retpolines are not.

Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
parent ff699273
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment