diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/workqueue.h | 4 |
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 | |||
178 | extern int queue_delayed_work_on(int cpu, struct workqueue_struct *wq, | 178 | extern 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); |
180 | extern void FASTCALL(flush_workqueue(struct workqueue_struct *wq)); | 180 | extern void FASTCALL(flush_workqueue(struct workqueue_struct *wq)); |
181 | extern void flush_work(struct workqueue_struct *wq, struct work_struct *work); | ||
182 | extern void flush_work_keventd(struct work_struct *work); | ||
181 | 183 | ||
182 | extern int FASTCALL(schedule_work(struct work_struct *work)); | 184 | extern int FASTCALL(schedule_work(struct work_struct *work)); |
183 | extern int FASTCALL(run_scheduled_work(struct work_struct *work)); | 185 | extern 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 | */ |
204 | static inline int cancel_delayed_work(struct delayed_work *work) | 206 | static inline int cancel_delayed_work(struct delayed_work *work) |
205 | { | 207 | { |