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>2013-04-04 22:09:08 (GMT)
commitf9d30d1ba5503fbebdeed38f282efa1c7cea52ef (patch)
treecce712f700ec38a8ef4669a5e7f80ed67e5f3951 /kernel/exit.c
parentfa7024086addbeab3173a7126f1bbfd5189ea771 (diff)
downloadlinux-fsl-qoriq-f9d30d1ba5503fbebdeed38f282efa1c7cea52ef.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 b4df219..8fb4a48 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -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);