]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
LoongArch: Use UNWIND_HINT_END_OF_STACK for entry points
authorTiezhu Yang <yangtiezhu@loongson.cn>
Wed, 31 Dec 2025 07:19:10 +0000 (15:19 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 31 Dec 2025 07:19:10 +0000 (15:19 +0800)
commit1b2f4706c6a20ab6ac41533dd8032d54322076e3
treee129888642083687a2af1fa6a4535716d262ecc7
parentd5be446948b379f1d1a8e7bc6656d13f44c5c7b1
LoongArch: Use UNWIND_HINT_END_OF_STACK for entry points

kernel_entry() and smpboot_entry() are the last frames for ORC unwinder,
so it is proper to use the annotation UNWIND_HINT_END_OF_STACK for them.

Link: https://lore.kernel.org/lkml/ots6w2ntyudj5ucs5eowncta2vmfssatpcqwzpar3ekk577hxi@j45dd4dmwx6x/
Suggested-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/head.S