]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commita28e785a9f794ba32e603570ab52a262cf963489
treea9337346d14a18a7ee2b7786e676dda88b190352
parent5695be142e203167e3cb515ef86a88424f3524eb
PM: convert do_each_thread to for_each_process_thread

as per 0c740d0afc3b (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