openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers
authorThomas Huth <thuth@redhat.com>
Fri, 14 Mar 2025 07:09:53 +0000 (08:09 +0100)
committerStafford Horne <shorne@gmail.com>
Sat, 7 Jun 2025 05:44:28 +0000 (06:44 +0100)
commitc403db6f00de4ecbde869ca79dd53513e9f7af0f
tree4afc58a1670122b056ae598493a3f241a1fe8cbd
parent0ff41df1cb268fc69e703a08a57ee14ae967d0ca
openrisc: 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: Jonas Bonn <jonas@southpole.se>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Stafford Horne <shorne@gmail.com>
Cc: linux-openrisc@vger.kernel.org
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/include/uapi/asm/ptrace.h