From: Tejun Heo Date: Thu, 16 Sep 2010 08:36:00 +0000 (+0200) Subject: workqueue: cleanup flush/cancel functions X-Git-Tag: v2.6.37-rc1~164^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=401a8d048eadfbe1b1c1bf53d3b614fcc894c61a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed