xref: /openbmc/linux/arch/csky/include/uapi/asm/unistd.h (revision 2305f60b76110cb3e8658a4ae85d1f7eb0c66a5b)
1d9c52522SMasahiro Yamada /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
24859bfcaSGuo Ren // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
34859bfcaSGuo Ren 
4*2305f60bSGuo Ren #define __ARCH_WANT_STAT64
5*2305f60bSGuo Ren #define __ARCH_WANT_NEW_STAT
64859bfcaSGuo Ren #define __ARCH_WANT_SYS_CLONE
7*2305f60bSGuo Ren #define __ARCH_WANT_SYS_CLONE3
880d7da1cSYury Norov #define __ARCH_WANT_SET_GET_RLIMIT
9c8ce48f0SArnd Bergmann #define __ARCH_WANT_TIME32_SYSCALLS
104859bfcaSGuo Ren #include <asm-generic/unistd.h>
114859bfcaSGuo Ren 
124859bfcaSGuo Ren #define __NR_set_thread_area	(__NR_arch_specific_syscall + 0)
134859bfcaSGuo Ren __SYSCALL(__NR_set_thread_area, sys_set_thread_area)
144859bfcaSGuo Ren #define __NR_cacheflush		(__NR_arch_specific_syscall + 1)
154859bfcaSGuo Ren __SYSCALL(__NR_cacheflush, sys_cacheflush)
16