ARC: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers
authorThomas Huth <thuth@redhat.com>
Fri, 14 Mar 2025 07:09:35 +0000 (08:09 +0100)
committerVineet Gupta <vgupta@kernel.org>
Mon, 9 Jun 2025 16:18:12 +0000 (09:18 -0700)
commit2cb74be378675c860af0fcaf1ec2801beebdf028
tree180b4d9a130efc4f6ba61f7631dc0f9e21b38665
parent857f4517965b282234e12f6bca0c21ef10eec09b
ARC: 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.

Cc: linux-snps-arc@lists.infradead.org
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
arch/arc/include/uapi/asm/ptrace.h