]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - arch/x86/include/asm/purgatory.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-jammy-kernel.git] / arch / x86 / include / asm / purgatory.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
40c50c1f
TG
2#ifndef _ASM_X86_PURGATORY_H
3#define _ASM_X86_PURGATORY_H
4
5#ifndef __ASSEMBLY__
6#include <linux/purgatory.h>
7
8extern 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 */
16extern unsigned long purgatory_backup_dest;
17extern unsigned long purgatory_backup_src;
18extern unsigned long purgatory_backup_sz;
19#endif /* __ASSEMBLY__ */
20
21#endif /* _ASM_PURGATORY_H */