hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/mips/include/asm/kexec.h
....@@ -1,9 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * kexec.h for kexec
34 * Created by <nschichan@corp.free.fr> on Thu Oct 12 14:59:34 2006
4
- *
5
- * This source code is licensed under the GNU General Public License,
6
- * Version 2. See the file COPYING for more details.
75 */
86
97 #ifndef _MIPS_KEXEC
....@@ -39,11 +37,12 @@
3937 extern int (*_machine_kexec_prepare)(struct kimage *);
4038 extern void (*_machine_kexec_shutdown)(void);
4139 extern void (*_machine_crash_shutdown)(struct pt_regs *regs);
42
-extern void default_machine_crash_shutdown(struct pt_regs *regs);
40
+void default_machine_crash_shutdown(struct pt_regs *regs);
41
+void kexec_nonboot_cpu_jump(void);
42
+void kexec_reboot(void);
4343 #ifdef CONFIG_SMP
4444 extern const unsigned char kexec_smp_wait[];
4545 extern unsigned long secondary_kexec_args[4];
46
-extern void (*relocated_kexec_smp_wait) (void *);
4746 extern atomic_t kexec_ready_to_reboot;
4847 extern void (*_crash_smp_send_stop)(void);
4948 #endif