]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nios2: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers
authorThomas Huth <thuth@redhat.com>
Fri, 14 Mar 2025 07:09:51 +0000 (08:09 +0100)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 25 Aug 2025 10:50:27 +0000 (05:50 -0500)
commit331b05b12d25cd2d2f2d7c4114e9ee15146dafd0
tree18fa462f68a12833fb18310014ace7fde16966d2
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
nios2: 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: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/nios2/include/uapi/asm/ptrace.h