diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-14 12:20:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-14 12:20:41 -0400 |
commit | 514fc01d389cf5d364ee3b5fec4ac1487448803e (patch) | |
tree | caf1b9b5b2b5f32882017c77014ff2c300585739 /drivers/char/tty_buffer.c | |
parent | 43046b606673c9c991919ff75b980b72541e9ede (diff) |
tty: use the new 'flush_delayed_work()' helper to do ldisc flush
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 <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/tty_buffer.c')
-rw-r--r-- | drivers/char/tty_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tty_buffer.c b/drivers/char/tty_buffer.c index 0296612cc7df..66fa4e10d76b 100644 --- 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) | |||
468 | */ | 468 | */ |
469 | void tty_flush_to_ldisc(struct tty_struct *tty) | 469 | void tty_flush_to_ldisc(struct tty_struct *tty) |
470 | { | 470 | { |
471 | flush_to_ldisc(&tty->buf.work.work); | 471 | flush_delayed_work(&tty->buf.work); |
472 | } | 472 | } |
473 | 473 | ||
474 | /** | 474 | /** |