1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_X86_PURGATORY_H
3 #define _ASM_X86_PURGATORY_H
6 #include <linux/purgatory.h>
8 extern void purgatory(void);
10 * These forward declarations serve two purposes:
12 * 1) Make sparse happy when checking arch/purgatory
13 * 2) Document that these are required to be global so the symbol
14 * lookup in kexec works
16 extern unsigned long purgatory_backup_dest
;
17 extern unsigned long purgatory_backup_src
;
18 extern unsigned long purgatory_backup_sz
;
19 #endif /* __ASSEMBLY__ */
21 #endif /* _ASM_PURGATORY_H */