Re: [PATCH] ARM: s3c: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files
Krzysztof Kozlowski <[email protected]>
| Newsgroups | org.kernel.vger.linux-samsung-soc,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178272778707.113362.4140243522437005166.b4-ty@b4> |
On Fri, 19 Jun 2026 14:58:27 +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] ARM: s3c: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files
https://git.kernel.org/krzk/linux/c/7b06ff772080919fdb194c95af6b1e3acb079b71
Best regards,
--
Krzysztof Kozlowski <[email protected]>