Skip to content

Commit b69269c

Browse files
Yanteng Sichenhuacai
authored andcommitted
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 <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
1 parent 42f7652 commit b69269c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/loongarch/include/asm/loongarch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
#define CSR_ESTAT_IS_WIDTH 15
251251
#define CSR_ESTAT_IS (_ULCAST_(0x7fff) << CSR_ESTAT_IS_SHIFT)
252252

253-
#define LOONGARCH_CSR_ERA 0x6 /* ERA */
253+
#define LOONGARCH_CSR_ERA 0x6 /* Exception return address */
254254

255255
#define LOONGARCH_CSR_BADV 0x7 /* Bad virtual address */
256256

0 commit comments

Comments
 (0)