Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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)