diff options
-rw-r--r-- | kernel/ptrace.c | 3 |
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 | |||
213 | bad: | 212 | bad: |
214 | write_unlock_irqrestore(&tasklist_lock, flags); | 213 | write_unlock_irqrestore(&tasklist_lock, flags); |
215 | task_unlock(task); | 214 | task_unlock(task); |