[PATCH] ARM: at91: Replace __ASSEMBLY__ with __ASSEMBLER__

claudiu beznea claudiu.beznea at tuxon.dev
Sat Sep 19 07:45:57 PDT 2026



On 8/21/26 11:36, Thomas Huth wrote:
> While the GCC and Clang compilers already define __ASSEMBLER__ auto-
> matically when compiling assembly code, __ASSEMBLY__ is a macro that
> only gets defined by the Makefiles in the kernel. This can be very
> confusing when switching between userspace and kernelspace coding, or
> when dealing with uapi headers that rather should use __ASSEMBLER__
> instead. Let's standardize now on the __ASSEMBLER__ macro to avoid
> this confusion.
> 
> Signed-off-by: Thomas Huth <thuth at redhat.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea at tuxon.dev>



More information about the linux-arm-kernel mailing list