LoongArch: Slightly clean up drdtime()
authorXi Ruoyao <xry111@xry111.site>
Sat, 9 Dec 2023 07:49:15 +0000 (15:49 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 9 Dec 2023 07:49:15 +0000 (15:49 +0800)
commit8146c5b349074da7732f1d45eb4a5f9fd192c7c1
treeac1776d676406392143a5fa41d26b113bbf0ef29
parenteea673e9d5ea994c60b550ffb684413d3759b3f4
LoongArch: Slightly clean up drdtime()

As we are just discarding the stable clock ID, simply write it into
$zero instead of allocating a temporary register.

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/loongarch.h