Re: [PATCH] ARM: at91: Replace __ASSEMBLY__ with __ASSEMBLER__

From: Claudiu Beznea

Date: Mon Sep 28 2026 - 03:24:29 EST


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@xxxxxxxxxx>

Applied to at91-soc, thanks!