From: Aaron Tomlin Date: Wed, 15 Apr 2015 23:16:47 +0000 (-0700) Subject: kernel/hung_task.c: change hung_task.c to use for_each_process_thread() X-Git-Tag: omap-for-v4.2/o2_dc~118^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=972fae6993cbbb934345011664dc703c0891dda3;p=pandora-kernel.git kernel/hung_task.c: change hung_task.c to use for_each_process_thread() In check_hung_uninterruptible_tasks() avoid the use of deprecated while_each_thread(). The "max_count" logic will prevent a livelock - see commit 0c740d0a ("introduce for_each_thread() to replace the buggy while_each_thread()"). Having said this let's use for_each_process_thread(). Signed-off-by: Aaron Tomlin Acked-by: Oleg Nesterov Cc: David Rientjes Cc: Dave Wysochanski Cc: Aaron Tomlin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed