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>2015-02-13 22:20:09 (GMT)
commit2c94311c651b1a0122378016689d58cf1796b6d6 (patch)
treeb49437369d3a56a99e9216fb8061635d5ffbe274 /kernel/exit.c
parente04cb1f7ebfeb5e64588172b33f9d9b8c0d562a3 (diff)
downloadlinux-fsl-qoriq-2c94311c651b1a0122378016689d58cf1796b6d6.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 81b3d67..3b93e6a 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -146,7 +146,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);