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