]> git.baikalelectronics.ru Git - kernel.git/commit
PM: convert do_each_thread to for_each_process_thread
authorMichal Hocko <mhocko@suse.cz>
Tue, 21 Oct 2014 07:27:15 +0000 (09:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 21 Oct 2014 21:44:21 +0000 (23:44 +0200)
commit33e690783a321fef168aea5e177aaf07f8c39bee
treea9337346d14a18a7ee2b7786e676dda88b190352
parent99c4c18304d15799b51e6cf4a0ca01b44adf1779
PM: convert do_each_thread to for_each_process_thread

as per 804cba9953ca (introduce for_each_thread() to replace the buggy
while_each_thread()) get rid of do_each_thread { } while_each_thread()
construct and replace it by a more error prone for_each_thread.

This patch doesn't introduce any user visible change.

Suggested-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/process.c