From 62f9702cab091339865990a8de60daa478416d80 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Mon, 9 Mar 2009 14:36:15 +0000 Subject: [PATCH] --- yaml --- r: 132201 b: refs/heads/master c: 187cfc439f7b1a7c91ff72d561b2a7c9c0b83431 h: refs/heads/master i: 132199: 0a73edc4d66e20527dc521b45269e6f5c7cc4b59 v: v3 --- [refs] | 2 +- trunk/drivers/char/hvcs.c | 9 --------- trunk/drivers/char/hvsi.c | 1 - 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/[refs] b/[refs] index 284c134d2714..86a7e451fcf9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d301a9f3ffc93b45744535e0b60fb9d6f6825773 +refs/heads/master: 187cfc439f7b1a7c91ff72d561b2a7c9c0b83431 diff --git a/trunk/drivers/char/hvcs.c b/trunk/drivers/char/hvcs.c index 6e6eb445d374..c76bccf5354d 100644 --- a/trunk/drivers/char/hvcs.c +++ b/trunk/drivers/char/hvcs.c @@ -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); /* diff --git a/trunk/drivers/char/hvsi.c b/trunk/drivers/char/hvsi.c index 406f8742a260..2989056a9e39 100644 --- a/trunk/drivers/char/hvsi.c +++ b/trunk/drivers/char/hvsi.c @@ -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)