]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Use the "jr" pseudo-instruction where applicable
authorWANG Xuerui <git@xen0n.name>
Tue, 26 Jul 2022 15:57:17 +0000 (23:57 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 29 Jul 2022 10:22:32 +0000 (18:22 +0800)
commitea8231ebcfcdf9e6adfbf40a12367d30f343abd2
tree4f6d6209f66bcc90748dbf5b371e11595cdcf86b
parenta46a61c7fbffcb97a0511c6858c840f1766c104d
LoongArch: Use the "jr" pseudo-instruction where applicable

Some of the assembly code in the LoongArch port likely originated
from a time when the assembler did not support pseudo-instructions like
"move" or "jr", so the desugared form was used and readability suffers
(to a minor degree) as a result.

As the upstream toolchain supports these pseudo-instructions from the
beginning, migrate the existing few usages to them for better
readability.

Signed-off-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/fpu.S
arch/loongarch/kernel/genex.S
arch/loongarch/kernel/head.S
arch/loongarch/mm/page.S
arch/loongarch/mm/tlbex.S