Skip to content

Commit 2cb74be

Browse files
huthvineetgarc
authored andcommitted
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: [email protected] Signed-off-by: Thomas Huth <[email protected]> Signed-off-by: Vineet Gupta <[email protected]>
1 parent 857f451 commit 2cb74be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arc/include/uapi/asm/ptrace.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#define PTRACE_GET_THREAD_AREA 25
1616

17-
#ifndef __ASSEMBLY__
17+
#ifndef __ASSEMBLER__
1818
/*
1919
* Userspace ABI: Register state needed by
2020
* -ptrace (gdbserver)
@@ -53,6 +53,6 @@ struct user_regs_arcv2 {
5353
unsigned long r30, r58, r59;
5454
};
5555

56-
#endif /* !__ASSEMBLY__ */
56+
#endif /* !__ASSEMBLER__ */
5757

5858
#endif /* _UAPI__ASM_ARC_PTRACE_H */

0 commit comments

Comments
 (0)