]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Use ABI names of registers where appropriate
authorWANG Xuerui <git@xen0n.name>
Tue, 26 Jul 2022 15:57:16 +0000 (23:57 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 29 Jul 2022 10:22:32 +0000 (18:22 +0800)
commita46a61c7fbffcb97a0511c6858c840f1766c104d
tree5bbe5881044a3dcb4ad37fc59a49f9c9e815c3db
parentb7eabeb88edc837581d3d6c77c88f187f9f53a86
LoongArch: Use ABI names of registers where appropriate

Some of the assembly in the LoongArch port seem to come from a
prehistoric time, when the assembler didn't even have support for the
ABI names we all come to know and love, thus used raw register numbers
which hampered readability.

The usages are found with a regex match inside arch/loongarch, then
manually adjusted for those non-definitions.

Signed-off-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/barrier.h
arch/loongarch/include/asm/loongson.h
arch/loongarch/include/asm/stacktrace.h
arch/loongarch/include/asm/thread_info.h
arch/loongarch/include/asm/uaccess.h
arch/loongarch/mm/page.S
arch/loongarch/mm/tlbex.S