diff options
author | Guo Ren <ren_guo@c-sky.com> | 2018-09-05 02:25:08 -0400 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2018-10-25 11:36:19 -0400 |
commit | 4859bfca11c7d63d55175bcd85a75d6cee4b7184 (patch) | |
tree | cb768c4368da4efdb051241cfbc7b11fa1a8fc6e /arch/csky/include/uapi | |
parent | 081860b970adb69888734df0c8aa849b00ea7254 (diff) |
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 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
2 | // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. | ||
3 | |||
4 | #define __ARCH_WANT_SYS_CLONE | ||
5 | #include <asm-generic/unistd.h> | ||
6 | |||
7 | #define __NR_set_thread_area (__NR_arch_specific_syscall + 0) | ||
8 | __SYSCALL(__NR_set_thread_area, sys_set_thread_area) | ||
9 | #define __NR_cacheflush (__NR_arch_specific_syscall + 1) | ||
10 | __SYSCALL(__NR_cacheflush, sys_cacheflush) | ||