]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - kernel/exit.c
Apply preempt_rt patch-4.9-rt1.patch.xz
[zynq/linux.git] / kernel / exit.c
index 3076f3089919b60697f296ec01126e0af5947bcc..fb2ebcf3ca7c8a353c51adc3c330521e43fc4d3f 100644 (file)
@@ -143,7 +143,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);