hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/arm64/include/asm/system_misc.h
....@@ -1,19 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Based on arch/arm/include/asm/system_misc.h
34 *
45 * Copyright (C) 2012 ARM Ltd.
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
176 */
187 #ifndef __ASM_SYSTEM_MISC_H
198 #define __ASM_SYSTEM_MISC_H
....@@ -33,20 +22,15 @@
3322
3423 struct siginfo;
3524 void arm64_notify_die(const char *str, struct pt_regs *regs,
36
- struct siginfo *info, int err);
25
+ int signo, int sicode, unsigned long far,
26
+ int err);
3727
3828 void hook_debug_fault_code(int nr, int (*fn)(unsigned long, unsigned int,
3929 struct pt_regs *),
4030 int sig, int code, const char *name);
4131
4232 struct mm_struct;
43
-extern void show_pte(unsigned long addr);
4433 extern void __show_regs(struct pt_regs *);
45
-
46
-extern void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd);
47
-extern char* (*arch_read_hardware_id)(void);
48
-
49
-int handle_guest_sea(phys_addr_t addr, unsigned int esr);
5034
5135 #endif /* __ASSEMBLY__ */
5236