]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers
authorThomas Huth <thuth@redhat.com>
Fri, 14 Mar 2025 07:09:55 +0000 (08:09 +0100)
committerHelge Deller <deller@gmx.de>
Sun, 4 May 2025 18:40:10 +0000 (20:40 +0200)
commite2b6a188625a2bbc83d4e6c76b59cb2e34353843
tree78745c247d108e3ad5c984f95550e679644e7aee
parentb4432656b36e5cc1d50a1f2dc15357543add530e
parisc: 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 almost a completely mechanical patch (done with a simple
"sed -i" statement), except for a manual change in the file
arch/parisc/include/uapi/asm/signal.h (where a comment was missing
some underscores).

Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-parisc@vger.kernel.org
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/uapi/asm/pdc.h
arch/parisc/include/uapi/asm/signal.h