summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/include/asm/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/include/asm/unistd.h')
-rw-r--r--arch/loongarch/include/asm/unistd.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/loongarch/include/asm/unistd.h b/arch/loongarch/include/asm/unistd.h
new file mode 100644
index 000000000..cfddb0116
--- /dev/null
+++ b/arch/loongarch/include/asm/unistd.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Author: Hanlu Li <lihanlu@loongson.cn>
+ * Huacai Chen <chenhuacai@loongson.cn>
+ *
+ * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
+ */
+
+#include <uapi/asm/unistd.h>
+
+#define NR_syscalls (__NR_syscalls)