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

From: Florian Fainelli

Date: Fri Aug 21 2026 - 12:20:13 EST


On 8/21/26 01:41, 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>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>

Please send it through Russell's patch tracker, thanks!
--
Florian