From: Oleg Nesterov Date: Wed, 26 May 2010 21:43:11 +0000 (-0700) Subject: exit: change zap_other_threads() to count sub-threads X-Git-Tag: v2.6.35-rc1~170 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09faef11df8c559a23e2405d123cb2683733a79a;p=pandora-kernel.git exit: change zap_other_threads() to count sub-threads Change zap_other_threads() to return the number of other sub-threads found on ->thread_group list. Other changes are cosmetic: - change the code to use while_each_thread() helper - remove the obsolete comment about SIGKILL/SIGSTOP Signed-off-by: Oleg Nesterov Acked-by: Roland McGrath Cc: Veaceslav Falico Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed