From: Oleg Nesterov Date: Thu, 23 Jan 2014 23:55:38 +0000 (-0800) Subject: proc: change first_tid() to use while_each_thread() rather than next_thread() X-Git-Tag: v3.14-rc1~108^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c986c14a6a88427946dc77d7018a81b95b3d41b6;p=pandora-kernel.git proc: change first_tid() to use while_each_thread() rather than next_thread() Rerwrite the main loop to use while_each_thread() instead of next_thread(). We are going to fix or replace while_each_thread(), next_thread() should be avoided whenever possible. Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Cc: Michal Hocko Cc: Sameer Nanda Cc: Sergey Dyasly Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed