summaryrefslogtreecommitdiff
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-07-03 13:44:56 (GMT)
committerScott Wood <scottwood@freescale.com>2014-05-14 18:37:45 (GMT)
commit6a12bc3add6b316558fd23459201ce6f60fe6af7 (patch)
tree1c62f09e5d4fcc4a5f28e8298ae7ae1c74aded5f /kernel/exit.c
parentb6b7726f9e05f979aaeb2405eb76d3e1ac06d5b6 (diff)
downloadlinux-fsl-qoriq-6a12bc3add6b316558fd23459201ce6f60fe6af7.tar.xz
signals: Allow rt tasks to cache one sigqueue struct
To avoid allocation allow rt tasks to cache one sigqueue struct in task struct. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index dcde2c4..1403fdc 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -145,7 +145,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);