diff options
| author | Josh Poimboeuf <[email protected]> | 2025-04-08 08:21:14 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-04-08 20:03:51 +0000 |
| commit | 2d12c6fb78753925f494ca9079e2383529e8ae0e (patch) | |
| tree | b3143293b0ba006ca7315ae406c8200715f121a0 /rust/helpers/platform.c | |
| parent | objtool, xen: Fix INSN_SYSCALL / INSN_SYSRET semantics (diff) | |
| download | kernel-2d12c6fb78753925f494ca9079e2383529e8ae0e.tar.gz kernel-2d12c6fb78753925f494ca9079e2383529e8ae0e.zip | |
objtool: Remove ANNOTATE_IGNORE_ALTERNATIVE from CLAC/STAC
ANNOTATE_IGNORE_ALTERNATIVE adds additional noise to the code generated
by CLAC/STAC alternatives, hurting readability for those whose read
uaccess-related code generation on a regular basis.
Remove the annotation specifically for the "NOP patched with CLAC/STAC"
case in favor of a manual check.
Leave the other uses of that annotation in place as they're less common
and more difficult to detect.
Suggested-by: Linus Torvalds <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Linus Torvalds <[email protected]>
Link: https://lore.kernel.org/r/fc972ba4995d826fcfb8d02733a14be8d670900b.1744098446.git.jpoimboe@kernel.org
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
