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)
commitd8e7f201a4cf148c3801cdc9603963061d28d64f
tree5bbe5881044a3dcb4ad37fc59a49f9c9e815c3db
parente0dccc3b76fb35bb257b4118367a883073d7390e
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