projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43046b6
)
tty: use the new 'flush_delayed_work()' helper to do ldisc flush
author
Linus Torvalds
<
[email protected]
>
Wed, 14 Oct 2009 16:20:41 +0000
(09:20 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 14 Oct 2009 16:20:41 +0000
(09:20 -0700)
This way all flush_to_ldisc work is always done through the workqueues,
and we thus have a single point of serialization.
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/char/tty_buffer.c
patch
|
blob
|
history
diff --git
a/drivers/char/tty_buffer.c
b/drivers/char/tty_buffer.c
index 0296612cc7dfbb3376291dfd321a6d56bfb6235a..66fa4e10d76bd47e1192a4593a488e8491e09b68 100644
(file)
--- a/
drivers/char/tty_buffer.c
+++ b/
drivers/char/tty_buffer.c
@@
-468,7
+468,7
@@
static void flush_to_ldisc(struct work_struct *work)
*/
void tty_flush_to_ldisc(struct tty_struct *tty)
{
- flush_
to_ldisc(&tty->buf.work
.work);
+ flush_
delayed_work(&tty->buf
.work);
}
/**