[PATCH] ARM: BCM7XXX: Replace __ASSEMBLY__ with __ASSEMBLER__
Florian Fainelli
florian.fainelli at broadcom.com
Fri Aug 21 09:13:11 PDT 2026
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 at redhat.com>
Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com>
Please send it through Russell's patch tracker, thanks!
--
Florian
More information about the linux-arm-kernel
mailing list