summaryrefslogtreecommitdiffstats
path: root/arch/x86/purgatory/kexec-purgatory.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/purgatory/kexec-purgatory.S')
-rw-r--r--arch/x86/purgatory/kexec-purgatory.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/x86/purgatory/kexec-purgatory.S b/arch/x86/purgatory/kexec-purgatory.S
new file mode 100644
index 000000000..8530fe93b
--- /dev/null
+++ b/arch/x86/purgatory/kexec-purgatory.S
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+ .section .rodata, "a"
+
+ .align 8
+kexec_purgatory:
+ .globl kexec_purgatory
+ .incbin "arch/x86/purgatory/purgatory.ro"
+.Lkexec_purgatory_end:
+
+ .align 8
+kexec_purgatory_size:
+ .globl kexec_purgatory_size
+ .quad .Lkexec_purgatory_end - kexec_purgatory