]> Gentwo Git Trees - linux/.git/commit
sparc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers
authorThomas Huth <thuth@redhat.com>
Fri, 14 Mar 2025 07:10:04 +0000 (08:10 +0100)
committerAndreas Larsson <andreas@gaisler.com>
Fri, 26 Sep 2025 15:06:09 +0000 (17:06 +0200)
commitd6fb6511de74bd0d4cb4cabddae9b31d533af1c1
tree684506ead3aedfd895555d19c188b65d3d3e60d9
parentdc356bf3c173a69d4b6f6ee6221cd21c6500fc65
sparc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers

__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@davemloft.net>
Cc: Andreas Larsson <andreas@gaisler.com>
Cc: sparclinux@vger.kernel.org
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
arch/sparc/include/uapi/asm/ptrace.h
arch/sparc/include/uapi/asm/signal.h
arch/sparc/include/uapi/asm/traps.h
arch/sparc/include/uapi/asm/utrap.h