aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/ptrace.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index ce66d66881fd..5f8d452e8111 100644
--- a/kernel/ptrace.c
+++ b/kernel/ptrace.c
@@ -208,8 +208,7 @@ repeat:
208 208
209 __ptrace_link(task, current); 209 __ptrace_link(task, current);
210 210
211 force_sig_specific(SIGSTOP, task); 211 send_sig_info(SIGSTOP, SEND_SIG_FORCED, task);
212
213bad: 212bad:
214 write_unlock_irqrestore(&tasklist_lock, flags); 213 write_unlock_irqrestore(&tasklist_lock, flags);
215 task_unlock(task); 214 task_unlock(task);