hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/riscv/include/uapi/asm/ucontext.h
....@@ -1,23 +1,12 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
12 /*
23 * Copyright (C) 2012 ARM Ltd.
34 * Copyright (C) 2017 SiFive, Inc.
45 *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License version 2 as
7
- * published by the Free Software Foundation.
8
- *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU General Public License for more details.
13
- *
14
- * You should have received a copy of the GNU General Public License
15
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
- *
176 * This file was copied from arch/arm64/include/uapi/asm/ucontext.h
187 */
19
-#ifndef _UAPI__ASM_UCONTEXT_H
20
-#define _UAPI__ASM_UCONTEXT_H
8
+#ifndef _UAPI_ASM_RISCV_UCONTEXT_H
9
+#define _UAPI_ASM_RISCV_UCONTEXT_H
2110
2211 #include <linux/types.h>
2312
....@@ -42,4 +31,4 @@
4231 struct sigcontext uc_mcontext;
4332 };
4433
45
-#endif /* _UAPI__ASM_UCONTEXT_H */
34
+#endif /* _UAPI_ASM_RISCV_UCONTEXT_H */