From: Oleg Nesterov Date: Wed, 17 Jun 2009 23:27:41 +0000 (-0700) Subject: do_wait: kill the old BUG_ON, use while_each_thread() X-Git-Tag: v2.6.31-rc1~207 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3f6dfb7295facb0505b5beca5a7ce48b0612379;p=pandora-kernel.git do_wait: kill the old BUG_ON, use while_each_thread() do_wait() does BUG_ON(tsk->signal != current->signal), this looks like a raher obsolete check. At least, I don't think do_wait() is the best place to verify that all threads have the same ->signal. Remove it. Also, change the code to use while_each_thread(). Signed-off-by: Oleg Nesterov Cc: Ingo Molnar Acked-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed