]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lib/is_single_threaded.c: change current_is_single_threaded() to use for_each_thread()
authorOleg Nesterov <oleg@redhat.com>
Wed, 21 Oct 2015 22:03:53 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:53 +0000 (09:03 +1100)
commitb621bfcba57c925230d6aa60547db492edf3c5f2
treea031cdffaa2313d2a95a3a57acb41a4da536c9a7
parenta20d46a06cc45d57ecdd62edc1b1354126984c9c
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>
lib/is_single_threaded.c