From: Oleg Nesterov Date: Wed, 13 Aug 2014 19:20:00 +0000 (+0200) Subject: sched: Change thread_group_cputime() to use for_each_thread() X-Git-Tag: omap-for-v3.19/prcm-cleanup~94^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e4dda08b4c39b3d8f4a3ee7269d49e0200c8af8;p=pandora-kernel.git sched: Change thread_group_cputime() to use for_each_thread() Change thread_group_cputime() to use for_each_thread() instead of buggy while_each_thread(). This also makes the pid_alive() check unnecessary. Signed-off-by: Oleg Nesterov Signed-off-by: Peter Zijlstra Cc: Mike Galbraith Cc: Hidetoshi Seto Cc: Frank Mayhar Cc: Frederic Weisbecker Cc: Andrew Morton Cc: Sanjay Rao Cc: Larry Woodman Cc: Rik van Riel Cc: Linus Torvalds Link: http://lkml.kernel.org/r/20140813192000.GA19327@redhat.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed