2.6.32.28 update
/kernel/exit.c
blob:efec7cc25a829e92f51aae5b81eeb8ef1a25566a -> blob:570255f541e507b416ecb51c89db8b0adf0cffe9
--- kernel/exit.c
+++ kernel/exit.c
@@ -92,14 +92,6 @@ static void __exit_signal(struct task_st
posix_cpu_timers_exit_group(tsk);
else {
/*
- * This can only happen if the caller is de_thread().
- * FIXME: this is the temporary hack, we should teach
- * posix-cpu-timers to handle this case correctly.
- */
- if (unlikely(has_group_leader_pid(tsk)))
- posix_cpu_timers_exit_group(tsk);
-
- /*
* If there is any task waiting for the group exit
* then notify it:
*/
@@ -128,7 +120,7 @@ static void __exit_signal(struct task_st
sig->inblock += task_io_get_inblock(tsk);
sig->oublock += task_io_get_oublock(tsk);
task_io_accounting_add(&sig->ioac, &tsk->ioac);
- sig->sum_sched_runtime += tsk_seruntime(tsk);
+ sig->sum_sched_runtime += tsk->se.sum_exec_runtime;
sig = NULL; /* Marker for below. */
}