Commit 16464af8 authored by Thomas Huth's avatar Thomas Huth Committed by Guo Ren (Alibaba DAMO Academy)
Browse files

csky: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi header



__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.

Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
Signed-off-by: default avatarGuo Ren (Alibaba DAMO Academy) <guoren@kernel.org>
parent 117c537c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
#ifndef _CSKY_PTRACE_H
#define _CSKY_PTRACE_H

#ifndef __ASSEMBLY__
#ifndef __ASSEMBLER__

struct pt_regs {
	unsigned long	tls;
@@ -47,5 +47,5 @@ struct user_fp {
	unsigned long	reserved;
};

#endif /* __ASSEMBLY__ */
#endif /* __ASSEMBLER__ */
#endif /* _CSKY_PTRACE_H */