]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Use the "move" pseudo-instruction where applicable
authorWANG Xuerui <git@xen0n.name>
Tue, 26 Jul 2022 15:57:18 +0000 (23:57 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 29 Jul 2022 10:22:32 +0000 (18:22 +0800)
commit55ba37c33c09a91410762e3102a456de461c8efd
tree627915b42bd823231e06585855e74f4ccd6688cc
parentb3bf94a7f20821ecaa4ade1497d52a6a0c3684cd
LoongArch: Use the "move" 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/include/asm/atomic.h
arch/loongarch/include/asm/cmpxchg.h
arch/loongarch/include/asm/futex.h
arch/loongarch/include/asm/uaccess.h
arch/loongarch/kernel/head.S