projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f76349c
)
LoongArch: Align the address of kernel_entry to 4KB
author
Huacai Chen
<chenhuacai@loongson.cn>
Mon, 26 Sep 2022 14:25:29 +0000
(22:25 +0800)
committer
Huacai Chen
<chenhuacai@loongson.cn>
Thu, 29 Sep 2022 02:15:00 +0000
(10:15 +0800)
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
patch
|
blob
|
history
diff --git
a/arch/loongarch/kernel/head.S
b/arch/loongarch/kernel/head.S
index c60eb66793e351cb0a91114cab9478903b44ebdb..331864369e49ece9d5ff79e26aa0d3d75f5b0a9c 100644
(file)
--- a/
arch/loongarch/kernel/head.S
+++ b/
arch/loongarch/kernel/head.S
@@
-14,6
+14,8
@@
__REF
+ .align 12
+
SYM_CODE_START(kernel_entry) # kernel entry point
/* Config direct window and set PG */