OSDN Git Service

workqueue: relocate pwq_set_max_active()
authorTejun Heo <tj@kernel.org>
Wed, 13 Mar 2013 23:51:35 +0000 (16:51 -0700)
committerTejun Heo <tj@kernel.org>
Wed, 13 Mar 2013 23:51:35 +0000 (16:51 -0700)
commit0fbd95aa8a056194933fba4ae78c50fc20f0704e
treef9f092a3f5268dbb30c1b233f51917b81c452008
parente62676169118bc2d42e5008b3f8872646313f077
workqueue: relocate pwq_set_max_active()

pwq_set_max_active() is gonna be modified and used during
pool_workqueue init.  Move it above init_and_link_pwq().

This patch is pure code reorganization and doesn't introduce any
functional changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c