projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9025fd4
)
csky: Fixup compile warning for three unimplemented syscalls
author
Guo Ren
<guoren@linux.alibaba.com>
Sun, 2 Feb 2020 06:11:11 +0000
(14:11 +0800)
committer
Guo Ren
<guoren@linux.alibaba.com>
Fri, 21 Feb 2020 07:43:25 +0000
(15:43 +0800)
Implement fstat64, fstatat64, clone3 syscalls to fixup
checksyscalls.sh compile warnings.
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
arch/csky/include/uapi/asm/unistd.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/csky/include/uapi/asm/unistd.h
b/arch/csky/include/uapi/asm/unistd.h
index 211c983c7282d13f3b75150e686c8e815fd7777b..ba40189297338d1de36b9cff54d76f0746b344c6 100644
(file)
--- a/
arch/csky/include/uapi/asm/unistd.h
+++ b/
arch/csky/include/uapi/asm/unistd.h
@@
-1,7
+1,10
@@
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
+#define __ARCH_WANT_STAT64
+#define __ARCH_WANT_NEW_STAT
#define __ARCH_WANT_SYS_CLONE
+#define __ARCH_WANT_SYS_CLONE3
#define __ARCH_WANT_SET_GET_RLIMIT
#define __ARCH_WANT_TIME32_SYSCALLS
#include <asm-generic/unistd.h>