Linux-libre 5.4.49-gnu
[librecmc/linux-libre.git] / arch / x86 / include / asm / purgatory.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_X86_PURGATORY_H
3 #define _ASM_X86_PURGATORY_H
4
5 #ifndef __ASSEMBLY__
6 #include <linux/purgatory.h>
7
8 extern void purgatory(void);
9 /*
10  * These forward declarations serve two purposes:
11  *
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
15  */
16 extern unsigned long purgatory_backup_dest;
17 extern unsigned long purgatory_backup_src;
18 extern unsigned long purgatory_backup_sz;
19 #endif  /* __ASSEMBLY__ */
20
21 #endif /* _ASM_PURGATORY_H */