[PATCH] soc: imx: Replace __ASSEMBLY__ with __ASSEMBLER__ in header file

Frank.Li at oss.nxp.com Frank.Li at oss.nxp.com
Mon Aug 31 07:46:07 PDT 2026


From: Frank Li <Frank.Li at nxp.com>


On Fri, 19 Jun 2026 14:24:48 +0200, Thomas Huth wrote:
> While the GCC and Clang compilers already define __ASSEMBLER__
> automatically 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. So let's standardize now
> on the __ASSEMBLER__ macro that is provided by the compilers.
> 
> [...]

Applied, thanks!

[1/1] soc: imx: Replace __ASSEMBLY__ with __ASSEMBLER__ in header file
      commit: 9d183de1df061377bf5d29f33dc4814382187649

Best regards,
-- 
Frank Li <Frank.Li at nxp.com>



More information about the linux-arm-kernel mailing list