summaryrefslogtreecommitdiff
path: root/arch/csky/include/uapi/asm
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2020-02-02 14:11:11 +0800
committerGuo Ren <guoren@linux.alibaba.com>2020-02-21 15:43:25 +0800
commit2305f60b76110cb3e8658a4ae85d1f7eb0c66a5b (patch)
tree1a04333e112a4ed2346c12ee532f718443d5a6dc /arch/csky/include/uapi/asm
parent9025fd48a8aeddade845afa353d4bbab7f19dbf2 (diff)
downloadlinux-sh-2305f60b76110cb3e8658a4ae85d1f7eb0c66a5b.tar.gz
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/include/uapi/asm')
-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>