From: Oleg Nesterov Date: Wed, 26 May 2010 21:43:23 +0000 (-0700) Subject: keyctl_session_to_parent(): use thread_group_empty() to check singlethreadness X-Git-Tag: v2.6.35-rc1~155 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd98acf74762764fbc4382a1d9a244f11a2658cc;p=pandora-kernel.git keyctl_session_to_parent(): use thread_group_empty() to check singlethreadness No functional changes. keyctl_session_to_parent() is the only user of signal->count which needs the correct value. Change it to use thread_group_empty() instead, this must be strictly equivalent under tasklist, and imho looks better. Signed-off-by: Oleg Nesterov Acked-by: David Howells Cc: Peter Zijlstra Acked-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed