aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/kprobes.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index f1c0e61a2cb4..19c42cbf91a0 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
@@ -532,9 +532,7 @@ valid_p:
532 list_del_rcu(&p->list); 532 list_del_rcu(&p->list);
533 kfree(old_p); 533 kfree(old_p);
534 } 534 }
535 down(&kprobe_mutex); 535 arch_remove_kprobe(p, &kprobe_mutex);
536 arch_remove_kprobe(p);
537 up(&kprobe_mutex);
538 } 536 }
539} 537}
540 538