Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338332
b: refs/heads/master
c: cee4ad1
h: refs/heads/master
v: v3
  • Loading branch information
Ivo Sieben authored and Greg Kroah-Hartman committed Oct 22, 2012
1 parent f090dd8 commit dd286fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: daee779718a319ff9f83e1ba3339334ac650bb22
refs/heads/master: cee4ad1ed90a0959fc29f9d30a2526e5e9522cfa
5 changes: 4 additions & 1 deletion trunk/drivers/tty/tty_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ EXPORT_SYMBOL(tty_insert_flip_string_flags);
* Takes any pending buffers and transfers their ownership to the
* ldisc side of the queue. It then schedules those characters for
* processing by the line discipline.
* Note that this function can only be used when the low_latency flag
* is unset. Otherwise the workqueue won't be flushed.
*
* Locking: Takes tty->buf.lock
*/
Expand Down Expand Up @@ -514,7 +516,8 @@ static void flush_to_ldisc(struct work_struct *work)
*/
void tty_flush_to_ldisc(struct tty_struct *tty)
{
flush_work(&tty->buf.work);
if (!tty->low_latency)
flush_work(&tty->buf.work);
}

/**
Expand Down

0 comments on commit dd286fc

Please sign in to comment.