[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c98a2d4d-fe8d-4bff-a682-167fa7326d9e@gaisler.com>
Date: Fri, 26 Sep 2025 17:04:53 +0200
From: Andreas Larsson <andreas@...sler.com>
To: Thomas Huth <thuth@...hat.com>, linux-kernel@...r.kernel.org
Cc: Arnd Bergmann <arnd@...db.de>, linux-arch@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>, sparclinux@...r.kernel.org
Subject: Re: [PATCH 34/41] sparc: Replace __ASSEMBLY__ with __ASSEMBLER__ in
non-uapi headers
On 2025-03-14 08:10, 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 on
> the __ASSEMBLER__ macro that is provided by the compilers now.
>
> This is a completely mechanical patch (done with a simple "sed -i"
> statement).
>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: Andreas Larsson <andreas@...sler.com>
> Cc: sparclinux@...r.kernel.org
> Signed-off-by: Thomas Huth <thuth@...hat.com>
Reviewed-by: Andreas Larsson <andreas@...sler.com>
Picking this up to my for-next.
Thanks,
Andreas
Powered by blists - more mailing lists