summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2026-10-27 22:51:24 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-10-27 22:51:24 +0800
commit23534c6efeb718e8a4d9107fa7d6707b5b1f5859 (patch)
tree6947c05f35856b49a29581b34a3c3d6da86cdffc /tools/lib/python
parent85cebdfee765e92e748e71b9b91889eef5988282 (diff)
LoongArch: Remove redundant call in update_bp_registers()
In update_bp_registers(), there is a duplicate call to write_wb_reg() when enabling an execute breakpoint: write_wb_reg(CSR_CFG_CTRL, i, 0, CTRL_PLV_ENABLE); write_wb_reg(CSR_CFG_CTRL, i, 0, CTRL_PLV_ENABLE); The two lines are completely identical. Remove the redundant call to clean up the code and eliminate unnecessary register writes. Cc: stable@vger.kernel.org Fixes: edffa33c7bb5 ("LoongArch: Add hardware breakpoints/watchpoints support") Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions