Commit 2938431e authored by Huacai Chen's avatar Huacai Chen

LoongArch: Align the address of kernel_entry to 4KB

Align the address of kernel_entry to 4KB, to avoid early tlb miss
exception in case the entry code crosses page boundary.
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent f76349cf
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
__REF __REF
.align 12
SYM_CODE_START(kernel_entry) # kernel entry point SYM_CODE_START(kernel_entry) # kernel entry point
/* Config direct window and set PG */ /* Config direct window and set PG */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment