aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/kprobes.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index 479d4d5672f9..5016bfb682b9 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
@@ -919,10 +919,8 @@ static int __kprobes pre_handler_kretprobe(struct kprobe *p,
919 ri->rp = rp; 919 ri->rp = rp;
920 ri->task = current; 920 ri->task = current;
921 921
922 if (rp->entry_handler && rp->entry_handler(ri, regs)) { 922 if (rp->entry_handler && rp->entry_handler(ri, regs))
923 spin_unlock_irqrestore(&rp->lock, flags);
924 return 0; 923 return 0;
925 }
926 924
927 arch_prepare_kretprobe(ri, regs); 925 arch_prepare_kretprobe(ri, regs);
928 926