]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Fix the _stext symbol address
authorHuacai Chen <chenhuacai@loongson.cn>
Sat, 25 Jun 2022 08:55:41 +0000 (16:55 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 25 Jun 2022 10:05:58 +0000 (18:05 +0800)
commit68adcc86f252c7f82f6ccb6b1b3710d75861b9f8
treeae8db550210edc6e0ce822f44c0ce0af59c8f101
parentcd6ad236f3a20ae8528ca6252e289a95a6e3c4b4
LoongArch: Fix the _stext symbol address

_stext means the start of .text section (see __is_kernel_text()), but we
put its definition in .ref.text by mistake. Fix it by defining it in the
vmlinux.lds.S.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/head.S
arch/loongarch/kernel/vmlinux.lds.S