Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132201
b: refs/heads/master
c: 187cfc4
h: refs/heads/master
i:
  132199: 0a73edc
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed Mar 10, 2009
1 parent 72336b3 commit 62f9702
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 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: d301a9f3ffc93b45744535e0b60fb9d6f6825773
refs/heads/master: 187cfc439f7b1a7c91ff72d561b2a7c9c0b83431
9 changes: 0 additions & 9 deletions trunk/drivers/char/hvcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1139,15 +1139,6 @@ static int hvcs_open(struct tty_struct *tty, struct file *filp)
hvcsd->tty = tty;
tty->driver_data = hvcsd;

/*
* Set this driver to low latency so that we actually have a chance at
* catching a throttled TTY after we flip_buffer_push. Otherwise the
* flush_to_async may not execute until after the kernel_thread has
* yielded and resumed the next flip_buffer_push resulting in data
* loss.
*/
tty->low_latency = 1;

memset(&hvcsd->buffer[0], 0x00, HVCS_BUFF_LEN);

/*
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/char/hvsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,6 @@ static int hvsi_open(struct tty_struct *tty, struct file *filp)
hp = &hvsi_ports[line];

tty->driver_data = hp;
tty->low_latency = 1; /* avoid throttle/tty_flip_buffer_push race */

mb();
if (hp->state == HVSI_FSP_DIED)
Expand Down

0 comments on commit 62f9702

Please sign in to comment.