diff --git a/arch/sw_64/kernel/uprobes.c b/arch/sw_64/kernel/uprobes.c index 1160ca1e836ae3c900a15253faca87abfefd6470..e25793f4a058e1763facd76f90584f62a95f1a56 100644 --- a/arch/sw_64/kernel/uprobes.c +++ b/arch/sw_64/kernel/uprobes.c @@ -4,8 +4,6 @@ #include #include -#define UPROBE_TRAP_NR ULONG_MAX - /** * arch_uprobe_analyze_insn - instruction analysis including validity and fixups. * @mm: the probed address space. @@ -54,8 +52,6 @@ int arch_uprobe_pre_xol(struct arch_uprobe *aup, struct pt_regs *regs) /* Instruction points to execute ol */ instruction_pointer_set(regs, utask->xol_vaddr); - user_enable_single_step(current); - return 0; } @@ -66,8 +62,6 @@ int arch_uprobe_post_xol(struct arch_uprobe *aup, struct pt_regs *regs) /* Instruction points to execute next to breakpoint address */ instruction_pointer_set(regs, utask->vaddr + 4); - user_disable_single_step(current); - return 0; }