diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2025-05-14 17:18:10 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-05-14 17:18:10 +0300 |
commit | 12614f794274f63fbdfe76771b2b332077d63848 (patch) | |
tree | dcbed62ca9ae85e8796949f0b1871344a8eae48a /rust/helpers/helpers.c | |
parent | 0b326b2371f94e798137cc1a3c5c2eef2bc69061 (diff) | |
download | linux-12614f794274f63fbdfe76771b2b332077d63848.tar.xz |
LoongArch: uprobes: Remove redundant code about resume_era
arch_uprobe_skip_sstep() returns true if instruction was emulated, that
is to say, there is no need to single step for the emulated instructions.
regs->csr_era will point to the destination address directly after the
exception, so the resume_era related code is redundant, just remove them.
Cc: stable@vger.kernel.org
Fixes: 19bc6cb64092 ("LoongArch: Add uprobes support")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions