Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f798634d806615bee27d1b83479034087a02aa0f
Commit:     f798634d806615bee27d1b83479034087a02aa0f
Parent:     778feeb4757daef5d7118feab2319142367910dd
Author:     David S. Miller <[EMAIL PROTECTED]>
AuthorDate: Mon Jul 16 17:05:11 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jul 16 17:12:00 2007 -0700

    [SERIAL] SUNHV: Fix jerky console on LDOM guests.
    
    Mixing putchar() and write() hvcalls does not work %100
    correctly.  But we should be using write() all the time
    if we can, even from ->start_tx(), anyways.
    
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/serial/sunhv.c |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/drivers/serial/sunhv.c b/drivers/serial/sunhv.c
index 17bcca5..d82be42 100644
--- a/drivers/serial/sunhv.c
+++ b/drivers/serial/sunhv.c
@@ -258,17 +258,7 @@ static void sunhv_stop_tx(struct uart_port *port)
 /* port->lock held by caller.  */
 static void sunhv_start_tx(struct uart_port *port)
 {
-       struct circ_buf *xmit = &port->info->xmit;
-
-       while (!uart_circ_empty(xmit)) {
-               long status = sun4v_con_putchar(xmit->buf[xmit->tail]);
-
-               if (status != HV_EOK)
-                       break;
-
-               xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
-               port->icount.tx++;
-       }
+       transmit_chars(port);
 }
 
 /* port->lock is not held.  */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to