diff options
| author | Huacai Chen <chenhuacai@loongson.cn> | 2025-11-09 16:02:01 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-11-10 08:37:06 +0800 |
| commit | eeeeaafa62ea0cd4b86390f657dc0aea73bff4f5 (patch) | |
| tree | 2c69654305f91674cd923a6c7faf8ec024678e13 /lib/debugobjects.c | |
| parent | 4c8a7c9827726f6e987b7a04af8ef58f1c7fe8d3 (diff) | |
LoongArch: Use correct accessor to read FWPC/MWPC
CSR.FWPC and CSR.MWPC are 32bit registers, so use csr_read32() rather
than csr_read64() to read the values of FWPC/MWPC.
Cc: stable@vger.kernel.org
Fixes: edffa33c7bb5a73 ("LoongArch: Add hardware breakpoints/watchpoints support")
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
