mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07: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:
1 parent
117c537cc7
commit
16464af831
1 file changed
+2
-2
@@ -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 */
|
||||
Reference in new issue
Block a user