summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorClément Léger <clement.leger@linux.dev>2026-11-02 15:58:11 +0100
committerPaul Walmsley <pjw@kernel.org>2026-11-04 13:55:49 -0700
commite0167a473b3e0f6388bcbf13ce2afcafe1b44b0c (patch)
treed26607286cfc2942aa8e2e0e6d18f229577111fc /tools/perf/scripts/python
parent4e8d36054e2e2838681fa5dba9ac67a81af12386 (diff)
riscv: kgdb: Fix potential missing local_irq_restore() call
If kgdb_handle_exception() returns an error, local irqs are not reenabled. Fix this by factoring out the kgdb exception handling to a function and call it between local_irq_save()/local_irq_restore() so that the error handling flow is simple. Signed-off-by: Clément Léger <clement.leger@linux.dev> Link: https://patch.msgid.link/20261102145812.36939-1-clement.leger@linux.dev Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions