diff options
author | Guo Ren <ren_guo@c-sky.com> | 2018-09-05 14:25:08 +0800 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2018-10-25 23:36:19 +0800 |
commit | 4859bfca11c7d63d55175bcd85a75d6cee4b7184 (patch) | |
tree | cb768c4368da4efdb051241cfbc7b11fa1a8fc6e /arch/csky/include/uapi | |
parent | 081860b970adb69888734df0c8aa849b00ea7254 (diff) | |
download | linux-4859bfca11c7d63d55175bcd85a75d6cee4b7184.tar.bz2 |
csky: System Call
This patch adds files related to syscall.
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/csky/include/uapi')
-rw-r--r-- | arch/csky/include/uapi/asm/unistd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/csky/include/uapi/asm/unistd.h b/arch/csky/include/uapi/asm/unistd.h new file mode 100644 index 000000000000..224c9a9ab45b --- /dev/null +++ b/arch/csky/include/uapi/asm/unistd.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. + +#define __ARCH_WANT_SYS_CLONE +#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) |