Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Thomas Huth and committed by
Vineet Gupta
2cb74be3 857f4517

+2 -2
+2 -2
arch/arc/include/uapi/asm/ptrace.h
··· 14 14 15 15 #define PTRACE_GET_THREAD_AREA 25 16 16 17 - #ifndef __ASSEMBLY__ 17 + #ifndef __ASSEMBLER__ 18 18 /* 19 19 * Userspace ABI: Register state needed by 20 20 * -ptrace (gdbserver) ··· 53 53 unsigned long r30, r58, r59; 54 54 }; 55 55 56 - #endif /* !__ASSEMBLY__ */ 56 + #endif /* !__ASSEMBLER__ */ 57 57 58 58 #endif /* _UAPI__ASM_ARC_PTRACE_H */