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