mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 17:10:13 +00:00
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: Thomas Huth <thuth@redhat.com> Signed-off-by: Guo Ren (Alibaba DAMO Academy) <guoren@kernel.org>
This commit is contained in:
parent
117c537cc7
commit
16464af831
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user