xtensa: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers
authorThomas Huth <thuth@redhat.com>
Fri, 14 Mar 2025 07:10:09 +0000 (08:10 +0100)
committerMax Filippov <jcmvbkbc@gmail.com>
Fri, 6 Jun 2025 08:03:35 +0000 (01:03 -0700)
commitda7870162f176ea38bff7380d67222e0430b0e35
tree4993812a13045f612f8a2951d42f81a4511a5b5d
parent0ff41df1cb268fc69e703a08a57ee14ae967d0ca
xtensa: 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: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20250314071013.1575167-39-thuth@redhat.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/uapi/asm/ptrace.h
arch/xtensa/include/uapi/asm/signal.h
arch/xtensa/include/uapi/asm/types.h