]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
LoongArch: Use "Exception return address" to comment ERA
authorYanteng Si <siyanteng@cqsoftware.com.cn>
Mon, 21 Oct 2024 14:11:18 +0000 (22:11 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Mon, 21 Oct 2024 14:11:18 +0000 (22:11 +0800)
The information contained in the comment for LOONGARCH_CSR_ERA is even
less informative than the macro itself, which can cause confusion for
junior developers. Let's use the full English term.

Signed-off-by: Yanteng Si <siyanteng@cqsoftware.com.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/loongarch.h

index 26542413a5b0ea4c33843faecdc25b0da4745c02..64ad277e096edd7d77af6f37e234d68e571764a4 100644 (file)
 #define  CSR_ESTAT_IS_WIDTH            15
 #define  CSR_ESTAT_IS                  (_ULCAST_(0x7fff) << CSR_ESTAT_IS_SHIFT)
 
-#define LOONGARCH_CSR_ERA              0x6     /* ERA */
+#define LOONGARCH_CSR_ERA              0x6     /* Exception return address */
 
 #define LOONGARCH_CSR_BADV             0x7     /* Bad virtual address */