]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
workqueue: introduce cwq_set_max_active() helper for thaw_workqueues()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Wed, 19 Sep 2012 17:40:48 +0000 (10:40 -0700)
committerTejun Heo <tj@kernel.org>
Wed, 19 Sep 2012 17:40:48 +0000 (10:40 -0700)
commit9f4bd4cddbb50d7617353102e10ce511c5ef6df2
tree2f204e107cb878fcc4c0152fe167133570376cc9
parentb3f9f405a21a29c06c31fb2d6ab36ef9ba7c027b
workqueue: introduce cwq_set_max_active() helper for thaw_workqueues()

Using a helper instead of open code makes thaw_workqueues() clearer.
The helper will also be used by the next patch.

tj: Slight update to comment and description.

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