1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 // Copyright (C) 2005-2017 Andes Technology Corporation
3 
4 #define __ARCH_WANT_STAT64
5 #define __ARCH_WANT_SYNC_FILE_RANGE2
6 #define __ARCH_WANT_SET_GET_RLIMIT
7 #define __ARCH_WANT_TIME32_SYSCALLS
8 
9 /* Use the standard ABI for syscalls */
10 #include <asm-generic/unistd.h>
11 
12 /* Additional NDS32 specific syscalls. */
13 #define __NR_cacheflush		(__NR_arch_specific_syscall)
14 #define __NR_fp_udfiex_crtl	(__NR_arch_specific_syscall + 1)
15 __SYSCALL(__NR_cacheflush, sys_cacheflush)
16 __SYSCALL(__NR_fp_udfiex_crtl, sys_fp_udfiex_crtl)
17