2019-07-25 15:58:31 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2018-09-05 14:25:08 +08:00
|
|
|
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
|
|
|
|
|
2020-02-02 14:11:11 +08:00
|
|
|
#define __ARCH_WANT_STAT64
|
|
|
|
#define __ARCH_WANT_NEW_STAT
|
2018-09-05 14:25:08 +08:00
|
|
|
#define __ARCH_WANT_SYS_CLONE
|
2020-02-02 14:11:11 +08:00
|
|
|
#define __ARCH_WANT_SYS_CLONE3
|
2018-05-16 16:18:50 +08:00
|
|
|
#define __ARCH_WANT_SET_GET_RLIMIT
|
2019-02-19 00:30:06 +08:00
|
|
|
#define __ARCH_WANT_TIME32_SYSCALLS
|
2018-09-05 14:25:08 +08:00
|
|
|
#include <asm-generic/unistd.h>
|
|
|
|
|
|
|
|
#define __NR_set_thread_area (__NR_arch_specific_syscall + 0)
|
|
|
|
__SYSCALL(__NR_set_thread_area, sys_set_thread_area)
|
|
|
|
#define __NR_cacheflush (__NR_arch_specific_syscall + 1)
|
|
|
|
__SYSCALL(__NR_cacheflush, sys_cacheflush)
|