]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33ac888713e501530f6b4baeef66080f4e5176f1
tree9fb271169040fe5aee6eeda917117edee258ceb2
parent5a5ae5f5aed33a514aa100fbb7d7c965c5759443
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