Re: [PATCH 33/41] sparc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers
From: Andreas Larsson
Date: Fri Sep 26 2025 - 11:03:52 EST
On 2025-03-14 08:10, Thomas Huth wrote:
> __ASSEMBLY__ is only defined by the Makefile of the kernel, so
> this is not really useful for uapi headers (unless the userspace
> Makefile defines it, too). Let's switch to __ASSEMBLER__ which
> gets set automatically by the compiler when compiling assembly
> code.
>
> This is a completely mechanical patch (done with a simple "sed -i"
> statement).
>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Andreas Larsson <andreas@xxxxxxxxxxx>
> Cc: sparclinux@xxxxxxxxxxxxxxx
> Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx>
> ---
> arch/sparc/include/uapi/asm/ptrace.h | 24 ++++++++++++------------
> arch/sparc/include/uapi/asm/signal.h | 4 ++--
> arch/sparc/include/uapi/asm/traps.h | 4 ++--
> arch/sparc/include/uapi/asm/utrap.h | 4 ++--
> 4 files changed, 18 insertions(+), 18 deletions(-)
Reviewed-by: Andreas Larsson <andreas@xxxxxxxxxxx>
Picking this up to my for-next.
Thanks,
Andreas