diff options
| author | Yanteng Si <siyanteng@cqsoftware.com.cn> | 2024-10-21 22:11:18 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-17 15:07:21 +0100 |
| commit | 8118551b4ffa6bf524250d24f432097749bdae70 (patch) | |
| tree | 8699fb032436a8ef860e5b8f7ae09684b9370d93 | |
| parent | 807692abc6906cc94125a8ef6cf0934686e0dad4 (diff) | |
| download | linux-8118551b4ffa6bf524250d24f432097749bdae70.tar.gz linux-8118551b4ffa6bf524250d24f432097749bdae70.tar.bz2 linux-8118551b4ffa6bf524250d24f432097749bdae70.zip | |
LoongArch: Use "Exception return address" to comment ERA
[ Upstream commit b69269c870ece1bc7d2e3e39ca76f4602f2cb0dd ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
| -rw-r--r-- | arch/loongarch/include/asm/loongarch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/loongarch/include/asm/loongarch.h b/arch/loongarch/include/asm/loongarch.h index 3d15fa5bef37..710b005fc8a6 100644 --- a/arch/loongarch/include/asm/loongarch.h +++ b/arch/loongarch/include/asm/loongarch.h @@ -325,7 +325,7 @@ static __always_inline void iocsr_write64(u64 val, u32 reg) #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 */ |
