Skip to content

Commit 331b05b

Browse files
huthDinh Nguyen
authored andcommitted
nios2: 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 a completely mechanical patch (done with a simple "sed -i" statement). Cc: Dinh Nguyen <[email protected]> Signed-off-by: Thomas Huth <[email protected]> Signed-off-by: Dinh Nguyen <[email protected]>
1 parent 8f5ae30 commit 331b05b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#ifndef _UAPI_ASM_NIOS2_PTRACE_H
1414
#define _UAPI_ASM_NIOS2_PTRACE_H
1515

16-
#ifndef __ASSEMBLY__
16+
#ifndef __ASSEMBLER__
1717

1818
#include <linux/types.h>
1919

@@ -80,5 +80,5 @@ struct user_pt_regs {
8080
__u32 regs[49];
8181
};
8282

83-
#endif /* __ASSEMBLY__ */
83+
#endif /* __ASSEMBLER__ */
8484
#endif /* _UAPI_ASM_NIOS2_PTRACE_H */

0 commit comments

Comments
 (0)