Re: [PATCH 24/41] parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers

From: Helge Deller
Date: Sun May 04 2025 - 14:53:37 EST


On 3/14/25 08:09, Thomas Huth wrote:
__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@xxxxxxxxxxxxxxxxxxxxx>
Cc: Helge Deller <deller@xxxxxx>
Cc: linux-parisc@xxxxxxxxxxxxxxx
Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx>
---
arch/parisc/include/uapi/asm/pdc.h | 4 ++--
arch/parisc/include/uapi/asm/signal.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

applied to the parisc git tree.

Thanks!
Helge