From: Tejun Heo Date: Tue, 12 Mar 2013 18:29:58 +0000 (-0700) Subject: workqueue: introduce for_each_pool() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~125^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=171169695555831e8cc41dbc1783700868631ea5;p=pandora-kernel.git workqueue: introduce for_each_pool() With the scheduled unbound pools with custom attributes, there will be multiple unbound pools, so it wouldn't be able to use for_each_wq_cpu() + for_each_std_worker_pool() to iterate through all pools. Introduce for_each_pool() which iterates through all pools using worker_pool_idr and use it instead of for_each_wq_cpu() + for_each_std_worker_pool() combination in freeze_workqueues_begin(). Signed-off-by: Tejun Heo Reviewed-by: Lai Jiangshan --- Reading git-diff-tree failed