From: Tejun Heo Date: Thu, 19 Jul 2012 20:52:53 +0000 (-0700) Subject: kthread_worker: reorganize to prepare for flush_kthread_work() reimplementation X-Git-Tag: v3.6-rc1~106^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a2e03d8ed518a61154f18d83d6466628e519f94;p=pandora-kernel.git 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 Acked-by: Andy Walls --- Reading git-diff-tree failed