[PATCH] ARM: at91: Replace __ASSEMBLY__ with __ASSEMBLER__
Claudiu Beznea
claudiu.beznea at kernel.org
Mon Sep 28 00:21:53 PDT 2026
On Fri, Aug 21, 2026 at 10:36:45AM +0200, 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>
Applied to at91-soc, thanks!
More information about the linux-arm-kernel
mailing list