diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2022-09-26 17:33:39 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2022-09-29 05:15:00 +0300 |
commit | 06e76acec70d1381b9a96e6014d5587d84201f82 (patch) | |
tree | b08e7b19c316b38fcf878a78f8324c966f4a7e1f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2938431e9338bf4e8d434513d3a5832d64c0fa8b (diff) | |
download | linux-06e76acec70d1381b9a96e6014d5587d84201f82.tar.xz |
LoongArch: Fix and cleanup csr_era handling in do_ri()
We don't emulate reserved instructions and just send a signal to the
current process now. So we don't need to call compute_return_era() to
add 4 (point to the next instruction) to csr_era in pt_regs. RA/ERA's
backup/restore is cleaned up as well.
Signed-off-by: Jun Yi <yijun@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions