hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/riscv/include/uapi/asm/hwcap.h
....@@ -1,28 +1,17 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
12 /*
23 * Copied from arch/arm64/include/asm/hwcap.h
34 *
45 * Copyright (C) 2012 ARM Ltd.
56 * Copyright (C) 2017 SiFive
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
187 */
19
-#ifndef __UAPI_ASM_HWCAP_H
20
-#define __UAPI_ASM_HWCAP_H
8
+#ifndef _UAPI_ASM_RISCV_HWCAP_H
9
+#define _UAPI_ASM_RISCV_HWCAP_H
2110
2211 /*
2312 * Linux saves the floating-point registers according to the ISA Linux is
2413 * executing on, as opposed to the ISA the user program is compiled for. This
25
- * is necessary for a handful of esoteric use cases: for example, userpsace
14
+ * is necessary for a handful of esoteric use cases: for example, userspace
2615 * threading libraries must be able to examine the actual machine state in
2716 * order to fully reconstruct the state of a thread.
2817 */
....@@ -33,4 +22,4 @@
3322 #define COMPAT_HWCAP_ISA_D (1 << ('D' - 'A'))
3423 #define COMPAT_HWCAP_ISA_C (1 << ('C' - 'A'))
3524
36
-#endif
25
+#endif /* _UAPI_ASM_RISCV_HWCAP_H */