Commit | Line | Data |
---|---|---|
d9c52522 | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
1932fbe3 GH |
2 | // Copyright (C) 2005-2017 Andes Technology Corporation |
3 | ||
bf4b6a7d | 4 | #define __ARCH_WANT_STAT64 |
1932fbe3 | 5 | #define __ARCH_WANT_SYNC_FILE_RANGE2 |
80d7da1c | 6 | #define __ARCH_WANT_SET_GET_RLIMIT |
c8ce48f0 | 7 | #define __ARCH_WANT_TIME32_SYSCALLS |
1932fbe3 GH |
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) | |
ed32949e | 14 | #define __NR_fp_udfiex_crtl (__NR_arch_specific_syscall + 1) |
1932fbe3 | 15 | __SYSCALL(__NR_cacheflush, sys_cacheflush) |
ed32949e | 16 | __SYSCALL(__NR_fp_udfiex_crtl, sys_fp_udfiex_crtl) |