workqueue: replace for_each_worker_pool() with for_each_std_worker_pool()
authorTejun Heo <tj@kernel.org>
Thu, 24 Jan 2013 19:01:34 +0000 (11:01 -0800)
committerTejun Heo <tj@kernel.org>
Thu, 24 Jan 2013 19:01:34 +0000 (11:01 -0800)
commit38db41d984f17938631420ff78160dda7f182d24
tree4591d50ecb7fe9749dc5d48b735d3f43aa0b80a7
parenta1056305fa98c7e13b38718658a8b07a5d926460
workqueue: replace for_each_worker_pool() with for_each_std_worker_pool()

for_each_std_worker_pool() takes @cpu instead of @gcwq.

This is part of an effort to remove global_cwq and make worker_pool
the top level abstraction, which in turn will help implementing worker
pools with user-specified attributes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
kernel/workqueue.c