lib/is_single_threaded.c: change current_is_single_threaded() to use for_each_thread()
authorOleg Nesterov <oleg@redhat.com>
Sat, 7 Nov 2015 00:31:26 +0000 (16:31 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 7 Nov 2015 01:50:42 +0000 (17:50 -0800)
commit90224350eaaf8b8043b19c393048f732bc2e4120
treeb50461be19cae9b88551e597a65be8a404134758
parentf773f32d71a4ed9a645634da107cd249e09e1180
lib/is_single_threaded.c: change current_is_single_threaded() to use for_each_thread()

Change current_is_single_threaded() to use for_each_thread() rather than
deprecated while_each_thread().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/is_single_threaded.c