.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * kexec.h for kexec |
---|
3 | 4 | * 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. |
---|
7 | 5 | */ |
---|
8 | 6 | |
---|
9 | 7 | #ifndef _MIPS_KEXEC |
---|
.. | .. |
---|
39 | 37 | extern int (*_machine_kexec_prepare)(struct kimage *); |
---|
40 | 38 | extern void (*_machine_kexec_shutdown)(void); |
---|
41 | 39 | 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); |
---|
43 | 43 | #ifdef CONFIG_SMP |
---|
44 | 44 | extern const unsigned char kexec_smp_wait[]; |
---|
45 | 45 | extern unsigned long secondary_kexec_args[4]; |
---|
46 | | -extern void (*relocated_kexec_smp_wait) (void *); |
---|
47 | 46 | extern atomic_t kexec_ready_to_reboot; |
---|
48 | 47 | extern void (*_crash_smp_send_stop)(void); |
---|
49 | 48 | #endif |
---|