xref: /openbmc/linux/arch/csky/include/uapi/asm/unistd.h (revision 023e4163)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
3 
4 #define __ARCH_WANT_SYS_CLONE
5 #define __ARCH_WANT_SET_GET_RLIMIT
6 #define __ARCH_WANT_TIME32_SYSCALLS
7 #include <asm-generic/unistd.h>
8 
9 #define __NR_set_thread_area	(__NR_arch_specific_syscall + 0)
10 __SYSCALL(__NR_set_thread_area, sys_set_thread_area)
11 #define __NR_cacheflush		(__NR_arch_specific_syscall + 1)
12 __SYSCALL(__NR_cacheflush, sys_cacheflush)
13