]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb6519b49da171ace6d8e0ef1751238b6fa94a97
treeb50461be19cae9b88551e597a65be8a404134758
parentd3303e6b0b0048ad7c476b1c52cec2330013eb6d
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