diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2020-02-02 09:11:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-12 15:00:16 +0300 |
commit | 479466726bf12290910df4bec6f4c106dbe42593 (patch) | |
tree | e81230047f0062681b5c9d1daf791094aa8903ad /arch/csky | |
parent | 3469dfd86e097bbc9d56c1bd255aad316ba746b1 (diff) | |
download | linux-479466726bf12290910df4bec6f4c106dbe42593.tar.xz |
csky: Fixup compile warning for three unimplemented syscalls
[ Upstream commit 2305f60b76110cb3e8658a4ae85d1f7eb0c66a5b ]
Implement fstat64, fstatat64, clone3 syscalls to fixup
checksyscalls.sh compile warnings.
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/csky')
-rw-r--r-- | arch/csky/include/uapi/asm/unistd.h | 3 |
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> |