diff options
author | Tejun Heo <tj@kernel.org> | 2012-07-19 22:52:53 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-07-22 19:11:01 +0200 |
commit | 9a2e03d8ed518a61154f18d83d6466628e519f94 (patch) | |
tree | ed5a66780409fd7ab1df70d799d8fb57a03477e6 /scripts/coccinelle/misc | |
parent | workqueue: simplify CPU hotplug code (diff) | |
download | linux-9a2e03d8ed518a61154f18d83d6466628e519f94.tar.xz linux-9a2e03d8ed518a61154f18d83d6466628e519f94.zip |
kthread_worker: reorganize to prepare for flush_kthread_work() reimplementation
Make the following two non-functional changes.
* Separate out insert_kthread_work() from queue_kthread_work().
* Relocate struct kthread_flush_work and kthread_flush_work_fn()
definitions above flush_kthread_work().
v2: Added lockdep_assert_held() in insert_kthread_work() as suggested
by Andy Walls.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Andy Walls <awalls@md.metrocast.net>
Diffstat (limited to 'scripts/coccinelle/misc')
0 files changed, 0 insertions, 0 deletions