LoongArch: Align the address of kernel_entry to 4KB
authorHuacai Chen <chenhuacai@loongson.cn>
Mon, 26 Sep 2022 14:25:29 +0000 (22:25 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 29 Sep 2022 02:15:00 +0000 (10:15 +0800)
commit2938431e9338bf4e8d434513d3a5832d64c0fa8b
tree9fb271169040fe5aee6eeda917117edee258ceb2
parentf76349cf41451c5c42a99f18a9163377e4b364ff
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: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/head.S