diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-28 15:31:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-28 15:31:49 -0400 |
commit | 66833d5f3934a19d0988b7d0de58149bfd7a5884 (patch) | |
tree | a34ce3de726fdd5d7617da51e3a06a3c7c309341 /kernel/exit.c | |
parent | 0234bf1d98ebd1cb8ea1630957f6d14170cc0ba0 (diff) | |
parent | 2633f0e57b1127f4060d70bf460140dc9bb19386 (diff) |
Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
exit signals: use of uninitialized field notify_count
lockdep: fix invalid list_del_rcu in zap_class
lockstat: repair erronous contention statistics
lockstat: fix numerical output rounding error
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 38ec40630149..75c647387639 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -918,8 +918,8 @@ static void exit_notify(struct task_struct *tsk, int group_dead) | |||
918 | 918 | ||
919 | /* mt-exec, de_thread() is waiting for us */ | 919 | /* mt-exec, de_thread() is waiting for us */ |
920 | if (thread_group_leader(tsk) && | 920 | if (thread_group_leader(tsk) && |
921 | tsk->signal->notify_count < 0 && | 921 | tsk->signal->group_exit_task && |
922 | tsk->signal->group_exit_task) | 922 | tsk->signal->notify_count < 0) |
923 | wake_up_process(tsk->signal->group_exit_task); | 923 | wake_up_process(tsk->signal->group_exit_task); |
924 | 924 | ||
925 | write_unlock_irq(&tasklist_lock); | 925 | write_unlock_irq(&tasklist_lock); |