summaryrefslogtreecommitdiffstats
path: root/arch/nds32/include/asm/syscalls.h
diff options
context:
space:
mode:
authorGreentime Hu <greentime@andestech.com>2017-10-25 10:37:49 +0800
committerGreentime Hu <greentime@andestech.com>2018-02-22 10:44:33 +0800
commit1932fbe36e02f54223ac4c6779b92269ca8b9b60 (patch)
tree03ef88dfb3d20281319075f94d970ebf6da87bb5 /arch/nds32/include/asm/syscalls.h
parent3172c605eb3b611f118ff08e60b50e08bfdcc2a6 (diff)
downloadlinux-1932fbe36e02f54223ac4c6779b92269ca8b9b60.tar.bz2
nds32: System calls handling
This patch adds support for system calls. Signed-off-by: Vincent Chen <vincentc@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/nds32/include/asm/syscalls.h')
-rw-r--r--arch/nds32/include/asm/syscalls.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/nds32/include/asm/syscalls.h b/arch/nds32/include/asm/syscalls.h
new file mode 100644
index 000000000000..78778ecff60c
--- /dev/null
+++ b/arch/nds32/include/asm/syscalls.h
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0
+// Copyright (C) 2005-2017 Andes Technology Corporation
+
+#ifndef __ASM_NDS32_SYSCALLS_H
+#define __ASM_NDS32_SYSCALLS_H
+
+asmlinkage long sys_cacheflush(unsigned long addr, unsigned long len, unsigned int op);
+asmlinkage long sys_fadvise64_64_wrapper(int fd, int advice, loff_t offset, loff_t len);
+asmlinkage long sys_rt_sigreturn_wrapper(void);
+
+#include <asm-generic/syscalls.h>
+
+#endif /* __ASM_NDS32_SYSCALLS_H */