summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/unistd.h')
-rw-r--r--arch/riscv/include/asm/unistd.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/unistd.h b/arch/riscv/include/asm/unistd.h
new file mode 100644
index 000000000..977ee6181
--- /dev/null
+++ b/arch/riscv/include/asm/unistd.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * Copyright (C) 2012 Regents of the University of California
+ */
+
+/*
+ * There is explicitly no include guard here because this file is expected to
+ * be included multiple times.
+ */
+
+#define __ARCH_WANT_SYS_CLONE
+
+#include <uapi/asm/unistd.h>
+
+#define NR_syscalls (__NR_syscalls)