LoongArch: Using the Exception return address instead of the ERA
PATCH 1/1 LoongArch: Using the Exception return address instead of the 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]>
--- arch/loongarch/include/asm/loongarch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/loongarch/include/asm/loongarch.h +1 -1
@@ -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 */
Signature · 1 line
2.47.0