diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2025-05-14 22:18:10 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-22 14:29:45 +0200 |
commit | 12f69c4e309845ad2823b3a095019526a529578f (patch) | |
tree | f8307284e196a5af8347054a73ce36fc958f090e /drivers/fpga/fpga-bridge.c | |
parent | 88650dde2eeaf157eddf55cdc5d47d46f691c905 (diff) |
LoongArch: uprobes: Remove redundant code about resume_era
commit 12614f794274f63fbdfe76771b2b332077d63848 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions