Huacai Chen 06e76acec7 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>
2022-09-29 10:15:00 +08:00
..
2022-08-12 09:44:23 -07:00
2022-06-25 18:05:59 +08:00
2022-06-03 20:09:28 +08:00
2022-07-29 18:22:32 +08:00
2022-07-29 18:22:32 +08:00
2022-07-29 18:22:32 +08:00
2022-07-29 18:22:32 +08:00
2022-06-03 20:09:28 +08:00
2022-06-03 20:09:28 +08:00
2022-06-03 20:09:28 +08:00
2022-08-12 13:10:11 +08:00
2022-07-07 17:41:01 +08:00
2022-08-12 13:10:11 +08:00
2022-08-12 13:10:11 +08:00
2022-06-03 20:09:28 +08:00