summaryrefslogtreecommitdiffstats
path: root/arch/nds32/include/uapi/asm/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nds32/include/uapi/asm/unistd.h')
-rw-r--r--arch/nds32/include/uapi/asm/unistd.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/nds32/include/uapi/asm/unistd.h b/arch/nds32/include/uapi/asm/unistd.h
new file mode 100644
index 000000000000..6e95901cabe3
--- /dev/null
+++ b/arch/nds32/include/uapi/asm/unistd.h
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0
+// Copyright (C) 2005-2017 Andes Technology Corporation
+
+#define __ARCH_WANT_SYNC_FILE_RANGE2
+
+/* Use the standard ABI for syscalls */
+#include <asm-generic/unistd.h>
+
+/* Additional NDS32 specific syscalls. */
+#define __NR_cacheflush (__NR_arch_specific_syscall)
+__SYSCALL(__NR_cacheflush, sys_cacheflush)
OpenPOWER on IntegriCloud