summaryrefslogtreecommitdiffstats
path: root/arch/riscv/purgatory/kexec-purgatory.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/purgatory/kexec-purgatory.S')
-rw-r--r--arch/riscv/purgatory/kexec-purgatory.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/riscv/purgatory/kexec-purgatory.S b/arch/riscv/purgatory/kexec-purgatory.S
new file mode 100644
index 000000000..0e9188815
--- /dev/null
+++ b/arch/riscv/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/riscv/purgatory/purgatory.ro"
+.Lkexec_purgatroy_end:
+
+ .align 8
+kexec_purgatory_size:
+ .globl kexec_purgatory_size
+ .quad .Lkexec_purgatroy_end - kexec_purgatory