]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
wait_task_stopped(): remove unneeded delay_group_leader check
authorOleg Nesterov <oleg@tv-sign.ru>
Fri, 8 Feb 2008 12:19:03 +0000 (04:19 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:26 +0000 (09:22 -0800)
commit1bad95c3bee183719e15eebffef66afc3fb3f8b0
treeb875db7096572a69f3906db631708d7e75e22f3f
parent20686a309aa98c518adbbd9b57cdbb1804143deb
wait_task_stopped(): remove unneeded delay_group_leader check

wait_task_stopped() doesn't need the "delay_group_leader" parameter.  If
the child is not traced it must be a group leader.  With or without
subthreads ->group_stop_count == 0 when the whole task is stopped.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Mika Penttila <mika.penttila@kolumbus.fi>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/exit.c