aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r--include/linux/workqueue.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index af155450cabb..597034276611 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -365,23 +365,24 @@ __alloc_workqueue_key(const char *fmt, unsigned int flags, int max_active,
365 365
366extern void destroy_workqueue(struct workqueue_struct *wq); 366extern void destroy_workqueue(struct workqueue_struct *wq);
367 367
368extern int queue_work(struct workqueue_struct *wq, struct work_struct *work);
369extern int queue_work_on(int cpu, struct workqueue_struct *wq, 368extern int queue_work_on(int cpu, struct workqueue_struct *wq,
370 struct work_struct *work); 369 struct work_struct *work);
371extern int queue_delayed_work(struct workqueue_struct *wq, 370extern int queue_work(struct workqueue_struct *wq, struct work_struct *work);
372 struct delayed_work *work, unsigned long delay);
373extern int queue_delayed_work_on(int cpu, struct workqueue_struct *wq, 371extern int queue_delayed_work_on(int cpu, struct workqueue_struct *wq,
374 struct delayed_work *work, unsigned long delay); 372 struct delayed_work *work, unsigned long delay);
373extern int queue_delayed_work(struct workqueue_struct *wq,
374 struct delayed_work *work, unsigned long delay);
375 375
376extern void flush_workqueue(struct workqueue_struct *wq); 376extern void flush_workqueue(struct workqueue_struct *wq);
377extern void drain_workqueue(struct workqueue_struct *wq); 377extern void drain_workqueue(struct workqueue_struct *wq);
378extern void flush_scheduled_work(void); 378extern void flush_scheduled_work(void);
379 379
380extern int schedule_work(struct work_struct *work);
381extern int schedule_work_on(int cpu, struct work_struct *work); 380extern int schedule_work_on(int cpu, struct work_struct *work);
382extern int schedule_delayed_work(struct delayed_work *work, unsigned long delay); 381extern int schedule_work(struct work_struct *work);
383extern int schedule_delayed_work_on(int cpu, struct delayed_work *work, 382extern int schedule_delayed_work_on(int cpu, struct delayed_work *work,
384 unsigned long delay); 383 unsigned long delay);
384extern int schedule_delayed_work(struct delayed_work *work,
385 unsigned long delay);
385extern int schedule_on_each_cpu(work_func_t func); 386extern int schedule_on_each_cpu(work_func_t func);
386extern int keventd_up(void); 387extern int keventd_up(void);
387 388