Skip to content

Commit 2305f60

Browse files
committed
csky: Fixup compile warning for three unimplemented syscalls
Implement fstat64, fstatat64, clone3 syscalls to fixup checksyscalls.sh compile warnings. Signed-off-by: Guo Ren <[email protected]>
1 parent 9025fd4 commit 2305f60

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/csky/include/uapi/asm/unistd.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
22
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
33

4+
#define __ARCH_WANT_STAT64
5+
#define __ARCH_WANT_NEW_STAT
46
#define __ARCH_WANT_SYS_CLONE
7+
#define __ARCH_WANT_SYS_CLONE3
58
#define __ARCH_WANT_SET_GET_RLIMIT
69
#define __ARCH_WANT_TIME32_SYSCALLS
710
#include <asm-generic/unistd.h>

0 commit comments

Comments
 (0)