diff options
author | Tejun Heo <tj@kernel.org> | 2010-09-16 10:36:00 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-09-19 17:51:05 +0200 |
commit | 401a8d048eadfbe1b1c1bf53d3b614fcc894c61a (patch) | |
tree | 7e1761149643e395a33619deb67ec99d8949a7a4 /init | |
parent | 81dcaf6516d8bbd75b894862c8ae7bba04380cfe (diff) | |
download | op-kernel-dev-401a8d048eadfbe1b1c1bf53d3b614fcc894c61a.zip op-kernel-dev-401a8d048eadfbe1b1c1bf53d3b614fcc894c61a.tar.gz |
workqueue: cleanup flush/cancel functions
Make the following cleanup changes.
* Relocate flush/cancel function prototypes and definitions.
* Relocate wait_on_cpu_work() and wait_on_work() before
try_to_grab_pending(). These will be used to implement
flush_work_sync().
* Make all flush/cancel functions return bool instead of int.
* Update wait_on_cpu_work() and wait_on_work() to return %true if they
actually waited.
* Add / update comments.
This patch doesn't cause any functional changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions