]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - kernel/exit.c
Merge branch '4.0.8-rt6'
[zynq/linux.git] / kernel / exit.c
index feff10bbb30777f93c33369a186650a6eb1a2e6a..f2f889d15ae62819671f551e5c94804d37b3352c 100644 (file)
@@ -144,7 +144,7 @@ static void __exit_signal(struct task_struct *tsk)
         * Do this under ->siglock, we can race with another thread
         * doing sigqueue_free() if we have SIGQUEUE_PREALLOC signals.
         */
-       flush_sigqueue(&tsk->pending);
+       flush_task_sigqueue(tsk);
        tsk->sighand = NULL;
        spin_unlock(&sighand->siglock);