linux/arch/loongarch/include
Tiezhu Yang 12f69c4e30 LoongArch: uprobes: Remove redundant code about resume_era
commit 12614f7942 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: 19bc6cb640 ("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>
History 2025-05-22 14:29:45 +02:00
..
asm LoongArch: uprobes: Remove redundant code about resume_era 2025-05-22 14:29:45 +02:00
uapi/asm LoongArch: Extend the maximum number of watchpoints 2025-02-17 10:05:18 +01:00