aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/workqueue.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index f16ba1e0687d..26a70992dec8 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -178,6 +178,8 @@ extern int FASTCALL(queue_delayed_work(struct workqueue_struct *wq, struct delay
178extern int queue_delayed_work_on(int cpu, struct workqueue_struct *wq, 178extern int queue_delayed_work_on(int cpu, struct workqueue_struct *wq,
179 struct delayed_work *work, unsigned long delay); 179 struct delayed_work *work, unsigned long delay);
180extern void FASTCALL(flush_workqueue(struct workqueue_struct *wq)); 180extern void FASTCALL(flush_workqueue(struct workqueue_struct *wq));
181extern void flush_work(struct workqueue_struct *wq, struct work_struct *work);
182extern void flush_work_keventd(struct work_struct *work);
181 183
182extern int FASTCALL(schedule_work(struct work_struct *work)); 184extern int FASTCALL(schedule_work(struct work_struct *work));
183extern int FASTCALL(run_scheduled_work(struct work_struct *work)); 185extern int FASTCALL(run_scheduled_work(struct work_struct *work));
@@ -199,7 +201,7 @@ int execute_in_process_context(work_func_t fn, struct execute_work *);
199 * Kill off a pending schedule_delayed_work(). Note that the work callback 201 * Kill off a pending schedule_delayed_work(). Note that the work callback
200 * function may still be running on return from cancel_delayed_work(), unless 202 * function may still be running on return from cancel_delayed_work(), unless
201 * it returns 1 and the work doesn't re-arm itself. Run flush_workqueue() or 203 * it returns 1 and the work doesn't re-arm itself. Run flush_workqueue() or
202 * cancel_work_sync() to wait on it. 204 * flush_work() or cancel_work_sync() to wait on it.
203 */ 205 */
204static inline int cancel_delayed_work(struct delayed_work *work) 206static inline int cancel_delayed_work(struct delayed_work *work)
205{ 207{