summaryrefslogtreecommitdiffstats
path: root/arch/nds32/include/asm/unistd.h
diff options
context:
space:
mode:
authorGreentime Hu <greentime@andestech.com>2017-10-25 04:37:49 +0200
committerGreentime Hu <greentime@andestech.com>2018-02-22 03:44:33 +0100
commit1932fbe36e02f54223ac4c6779b92269ca8b9b60 (patch)
tree03ef88dfb3d20281319075f94d970ebf6da87bb5 /arch/nds32/include/asm/unistd.h
parentnds32: ELF definitions (diff)
downloadlinux-1932fbe36e02f54223ac4c6779b92269ca8b9b60.tar.xz
linux-1932fbe36e02f54223ac4c6779b92269ca8b9b60.zip
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/unistd.h')
-rw-r--r--arch/nds32/include/asm/unistd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/nds32/include/asm/unistd.h b/arch/nds32/include/asm/unistd.h
new file mode 100644
index 000000000000..b586a2862beb
--- /dev/null
+++ b/arch/nds32/include/asm/unistd.h
@@ -0,0 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
+// Copyright (C) 2005-2017 Andes Technology Corporation
+
+#define __ARCH_WANT_SYS_CLONE
+
+#include <uapi/asm/unistd.h>