]> 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)
commitebc1cfa5da80e5909d0047dd42be58a28f2c8b6a
treeae8db550210edc6e0ce822f44c0ce0af59c8f101
parent2e44d93be625a95aa57bb194d1c58281fa1f487c
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