hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/riscv/include/asm/unistd.h
....@@ -1,21 +1,15 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2012 Regents of the University of California
3
- *
4
- * This program is free software; you can redistribute it and/or
5
- * modify it under the terms of the GNU General Public License
6
- * as published by the Free Software Foundation, version 2.
7
- *
8
- * This program is distributed in the hope that it will be useful,
9
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
- * GNU General Public License for more details.
124 */
135
146 /*
157 * There is explicitly no include guard here because this file is expected to
16
- * be included multiple times. See uapi/asm/syscalls.h for more info.
8
+ * be included multiple times.
179 */
1810
1911 #define __ARCH_WANT_SYS_CLONE
12
+
2013 #include <uapi/asm/unistd.h>
21
-#include <uapi/asm/syscalls.h>
14
+
15
+#define NR_syscalls (__NR_syscalls)