summaryrefslogtreecommitdiffstats
path: root/arch/riscv/purgatory/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/purgatory/entry.S')
-rw-r--r--arch/riscv/purgatory/entry.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/purgatory/entry.S b/arch/riscv/purgatory/entry.S
index 5bcf3af903..0e6ca6d5ae 100644
--- a/arch/riscv/purgatory/entry.S
+++ b/arch/riscv/purgatory/entry.S
@@ -7,6 +7,7 @@
* Author: Li Zhengyu (lizhengyu3@huawei.com)
*
*/
+#include <asm/asm.h>
#include <linux/linkage.h>
.text
@@ -34,6 +35,7 @@ SYM_CODE_END(purgatory_start)
.data
+.align LGREG
SYM_DATA(riscv_kernel_entry, .quad 0)
.end