unistd.h (ac94be498f84f7327533b62faca4c3da64434904) unistd.h (2305f60b76110cb3e8658a4ae85d1f7eb0c66a5b)
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
3
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
4#define __ARCH_WANT_SYS_CLONE
6#define __ARCH_WANT_SYS_CLONE
7#define __ARCH_WANT_SYS_CLONE3
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)
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)