X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fexit.c;h=c9e5a1c14e081eb8dd9873e0eef89d964c344bc1;hb=9e01892c4234070bbcf3a9f582514c8b91464375;hp=c7422ca920382b47445ace263bdba0fe6fbf6bf8;hpb=33edcf133ba93ecba2e4b6472e97b689895d805c;p=pandora-kernel.git diff --git a/kernel/exit.c b/kernel/exit.c index c7422ca92038..c9e5a1c14e08 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -1037,8 +1037,6 @@ NORET_TYPE void do_exit(long code) * task into the wait for ever nirwana as well. */ tsk->flags |= PF_EXITPIDONE; - if (tsk->io_context) - exit_io_context(); set_current_state(TASK_UNINTERRUPTIBLE); schedule(); } @@ -1328,10 +1326,10 @@ static int wait_task_zombie(struct task_struct *p, int options, * group, which consolidates times for all threads in the * group including the group leader. */ + thread_group_cputime(p, &cputime); spin_lock_irq(&p->parent->sighand->siglock); psig = p->parent->signal; sig = p->signal; - thread_group_cputime(p, &cputime); psig->cutime = cputime_add(psig->cutime, cputime_add(cputime.utime,