]> Git Repo - linux.git/commit
kthread_worker: reorganize to prepare for flush_kthread_work() reimplementation
authorTejun Heo <[email protected]>
Thu, 19 Jul 2012 20:52:53 +0000 (13:52 -0700)
committerTejun Heo <[email protected]>
Sun, 22 Jul 2012 17:11:01 +0000 (10:11 -0700)
commit9a2e03d8ed518a61154f18d83d6466628e519f94
treeed5a66780409fd7ab1df70d799d8fb57a03477e6
parent8db25e7891a47e03db6f04344a9c92be16e391bb
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 <[email protected]>
Acked-by: Andy Walls <[email protected]>
kernel/kthread.c
This page took 0.057212 seconds and 4 git commands to generate.