hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/nds32/include/uapi/asm/unistd.h
....@@ -1,11 +1,16 @@
1
-// SPDX-License-Identifier: GPL-2.0
1
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
22 // Copyright (C) 2005-2017 Andes Technology Corporation
33
4
+#define __ARCH_WANT_STAT64
45 #define __ARCH_WANT_SYNC_FILE_RANGE2
6
+#define __ARCH_WANT_SET_GET_RLIMIT
7
+#define __ARCH_WANT_TIME32_SYSCALLS
58
69 /* Use the standard ABI for syscalls */
710 #include <asm-generic/unistd.h>
811
912 /* Additional NDS32 specific syscalls. */
1013 #define __NR_cacheflush (__NR_arch_specific_syscall)
14
+#define __NR_fp_udfiex_crtl (__NR_arch_specific_syscall + 1)
1115 __SYSCALL(__NR_cacheflush, sys_cacheflush)
16
+__SYSCALL(__NR_fp_udfiex_crtl, sys_fp_udfiex_crtl)