diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-14 15:34:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-14 15:34:55 -0700 |
commit | d6047d79b90f6122fcbf2c3e783b507f7dd78fc6 (patch) | |
tree | 4091ff408dd6873609e3f3341b0b3972155b7201 /include/linux/workqueue.h | |
parent | 601adfedba37326410760d8d60f5da99a0adfd2f (diff) | |
parent | 514fc01d389cf5d364ee3b5fec4ac1487448803e (diff) |
Merge branch 'tty-fixes'
* branch 'tty-fixes':
tty: use the new 'flush_delayed_work()' helper to do ldisc flush
workqueue: add 'flush_delayed_work()' to run and wait for delayed work
Make flush_to_ldisc properly handle parallel calls
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r-- | include/linux/workqueue.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index 7ef0c7b94f3..cf24c20de9e 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -207,6 +207,7 @@ extern int queue_delayed_work_on(int cpu, struct workqueue_struct *wq, extern void flush_workqueue(struct workqueue_struct *wq); extern void flush_scheduled_work(void); +extern void flush_delayed_work(struct delayed_work *work); extern int schedule_work(struct work_struct *work); extern int schedule_work_on(int cpu, struct work_struct *work); |