summaryrefslogtreecommitdiffstats
path: root/arch/csky
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2020-02-02 07:11:11 +0100
committerGuo Ren <guoren@linux.alibaba.com>2020-02-21 08:43:25 +0100
commit2305f60b76110cb3e8658a4ae85d1f7eb0c66a5b (patch)
tree1a04333e112a4ed2346c12ee532f718443d5a6dc /arch/csky
parentcsky: Remove unused cache implementation (diff)
downloadlinux-2305f60b76110cb3e8658a4ae85d1f7eb0c66a5b.tar.xz
linux-2305f60b76110cb3e8658a4ae85d1f7eb0c66a5b.zip
csky: Fixup compile warning for three unimplemented syscalls
Implement fstat64, fstatat64, clone3 syscalls to fixup checksyscalls.sh compile warnings. Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Diffstat (limited to 'arch/csky')
-rw-r--r--arch/csky/include/uapi/asm/unistd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/csky/include/uapi/asm/unistd.h b/arch/csky/include/uapi/asm/unistd.h
index 211c983c7282..ba4018929733 100644
--- 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>