xref: /linux/arch/x86/include/asm/crash.h (revision a1c3be890440a1769ed6f822376a3e3ab0d42994)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_X86_CRASH_H
3 #define _ASM_X86_CRASH_H
4 
5 struct kimage;
6 
7 int crash_load_segments(struct kimage *image);
8 int crash_setup_memmap_entries(struct kimage *image,
9 		struct boot_params *params);
10 void crash_smp_send_stop(void);
11 
12 #ifdef CONFIG_KEXEC_CORE
13 void __init crash_reserve_low_1M(void);
14 #else
15 static inline void __init crash_reserve_low_1M(void) { }
16 #endif
17 
18 #endif /* _ASM_X86_CRASH_H */
19