Re: [PATCH RFC 1/5] objtool: Remove ANNOTATE_IGNORE_ALTERNATIVE from CLAC/STAC
From: Linus Torvalds
Date: Tue Apr 08 2025 - 14:09:42 EST
On Tue, 8 Apr 2025 at 01:21, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> #define ASM_CLAC \
> - ALTERNATIVE __stringify(ANNOTATE_IGNORE_ALTERNATIVE), "clac", X86_FEATURE_SMAP
> + ALTERNATIVE "", "clac", X86_FEATURE_SMAP
>
> #define ASM_STAC \
> - ALTERNATIVE __stringify(ANNOTATE_IGNORE_ALTERNATIVE), "stac", X86_FEATURE_SMAP
> + ALTERNATIVE "", "stac", X86_FEATURE_SMAP
Thanks. I didn't actually test the patch, but it obviously fixes my
concerns, so I'm acking it without any testing what-so-ever.
Linus