Re: [PATCH v14 03/19] x86: Secure Launch Resource Table header file

Huang, Kai
2025-04-24T12:37:04Z

> +
> +#ifndef __ASSEMBLY__
>
[...]

> +#endif /* !__ASSEMBLY */
>

A minor thing:

There's an attempt to convert __ASSEMBLY__ to __ASSEMBLER__ at tree-wide level:

https://lore.kernel.org/lkml/20250314071013.1575167-1-thuth@redhat.com/

I am not sure the final result (there's some discussion around uapi part, but it
seems there's no objection to changes to the headers visible only to the
kernel), but the x86 ones have been merged:

x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers
x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in UAPI headers

So perhaps we should use __ASSEMBLER__ for the new code.