diff options
author | Guo Ren <ren_guo@c-sky.com> | 2018-09-05 09:25:08 +0300 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2018-10-25 18:36:19 +0300 |
commit | 4859bfca11c7d63d55175bcd85a75d6cee4b7184 (patch) | |
tree | cb768c4368da4efdb051241cfbc7b11fa1a8fc6e /arch/csky/include/asm/syscalls.h | |
parent | 081860b970adb69888734df0c8aa849b00ea7254 (diff) | |
download | linux-4859bfca11c7d63d55175bcd85a75d6cee4b7184.tar.xz |
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/asm/syscalls.h')
-rw-r--r-- | arch/csky/include/asm/syscalls.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/csky/include/asm/syscalls.h b/arch/csky/include/asm/syscalls.h new file mode 100644 index 000000000000..5d48e5e0082e --- /dev/null +++ b/arch/csky/include/asm/syscalls.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. + +#ifndef __ASM_CSKY_SYSCALLS_H +#define __ASM_CSKY_SYSCALLS_H + +#include <asm-generic/syscalls.h> + +long sys_cacheflush(void __user *, unsigned long, int); + +long sys_set_thread_area(unsigned long addr); + +long sys_csky_fadvise64_64(int fd, int advice, loff_t offset, loff_t len); + +#endif /* __ASM_CSKY_SYSCALLS_H */ |