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)
commit92264f2dae7324f3189d22c0a0f0cb4e5d30d617
treeae8db550210edc6e0ce822f44c0ce0af59c8f101
parent501dcbe495c0484a8f7954f1b24d2002dc6cb2d2
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