diff options
| author | Josh Poimboeuf <[email protected]> | 2022-04-18 16:50:23 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-04-19 19:58:49 +0000 |
| commit | 1c0513dec41e4d40eb21402dff397ad84ca13a44 (patch) | |
| tree | 114c7f4e8be4f01cd6d8d86a4f0c8d74916e2c0d /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | x86/static_call: Add ANNOTATE_NOENDBR to static call trampoline (diff) | |
| download | kernel-1c0513dec41e4d40eb21402dff397ad84ca13a44.tar.gz kernel-1c0513dec41e4d40eb21402dff397ad84ca13a44.zip | |
x86/retpoline: Add ANNOTATE_NOENDBR for retpolines
The retpolines are exported, so they're referenced by ksymtab sections.
But they're never indirect-branched to, so add ANNOTATE_NOENDBR.
Fixes: ed53a0d97192 ("x86/alternative: Use .ibt_endbr_seal to seal indirect calls")
Signed-off-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/b6ec963dfd9301b6b1d74ef7758fcb0b540d6c6c.1650300597.git.jpoimboe@redhat.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
