diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2022-09-26 22:33:39 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2022-09-29 10:15:00 +0800 |
commit | 06e76acec70d1381b9a96e6014d5587d84201f82 (patch) | |
tree | b08e7b19c316b38fcf878a78f8324c966f4a7e1f /mm/mempool.c | |
parent | 2938431e9338bf4e8d434513d3a5832d64c0fa8b (diff) |
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 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions