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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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 */