aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYanteng Si <siyanteng@cqsoftware.com.cn>2024-10-21 22:11:18 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2024-10-21 22:11:18 +0800
commitb69269c870ece1bc7d2e3e39ca76f4602f2cb0dd (patch)
tree8b0c39bb9218b2160c4871e23ab2b9927f8c659a
parent42f7652d3eb527d03665b09edac47f85fb600924 (diff)
LoongArch: Use "Exception return address" to comment ERA
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>
-rw-r--r--arch/loongarch/include/asm/loongarch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/loongarch/include/asm/loongarch.h b/arch/loongarch/include/asm/loongarch.h
index 26542413a5b0..64ad277e096e 100644
--- a/arch/loongarch/include/asm/loongarch.h
+++ b/arch/loongarch/include/asm/loongarch.h
@@ -250,7 +250,7 @@
#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 */