aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/hvc/hvcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/hvc/hvcs.c')
-rw-r--r--drivers/tty/hvc/hvcs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c
index bef238f9ffd7..4c8b66546930 100644
--- a/drivers/tty/hvc/hvcs.c
+++ b/drivers/tty/hvc/hvcs.c
@@ -118,7 +118,7 @@
118 * arch/powerepc/include/asm/hvcserver.h 118 * arch/powerepc/include/asm/hvcserver.h
119 * 119 *
120 * 1.3.2 -> 1.3.3 Replaced yield() in hvcs_close() with tty_wait_until_sent() to 120 * 1.3.2 -> 1.3.3 Replaced yield() in hvcs_close() with tty_wait_until_sent() to
121 * prevent possible lockup with realtime scheduling as similarily pointed out by 121 * prevent possible lockup with realtime scheduling as similarly pointed out by
122 * akpm in hvc_console. Changed resulted in the removal of hvcs_final_close() 122 * akpm in hvc_console. Changed resulted in the removal of hvcs_final_close()
123 * to reorder cleanup operations and prevent discarding of pending data during 123 * to reorder cleanup operations and prevent discarding of pending data during
124 * an hvcs_close(). Removed spinlock protection of hvcs_struct data members in 124 * an hvcs_close(). Removed spinlock protection of hvcs_struct data members in
@@ -581,7 +581,7 @@ static void hvcs_try_write(struct hvcs_struct *hvcsd)
581 /* 581 /*
582 * We are still obligated to deliver the data to the 582 * We are still obligated to deliver the data to the
583 * hypervisor even if the tty has been closed because 583 * hypervisor even if the tty has been closed because
584 * we commited to delivering it. But don't try to wake 584 * we committed to delivering it. But don't try to wake
585 * a non-existent tty. 585 * a non-existent tty.
586 */ 586 */
587 if (tty) { 587 if (tty) {
@@ -1349,7 +1349,7 @@ static int hvcs_write(struct tty_struct *tty,
1349 spin_lock_irqsave(&hvcsd->lock, flags); 1349 spin_lock_irqsave(&hvcsd->lock, flags);
1350 1350
1351 /* 1351 /*
1352 * Somehow an open succedded but the device was removed or the 1352 * Somehow an open succeeded but the device was removed or the
1353 * connection terminated between the vty-server and partner vty during 1353 * connection terminated between the vty-server and partner vty during
1354 * the middle of a write operation? This is a crummy place to do this 1354 * the middle of a write operation? This is a crummy place to do this
1355 * but we want to keep it all in the spinlock. 1355 * but we want to keep it all in the spinlock.
@@ -1420,7 +1420,7 @@ static int hvcs_write(struct tty_struct *tty,
1420} 1420}
1421 1421
1422/* 1422/*
1423 * This is really asking how much can we guarentee that we can send or that we 1423 * This is really asking how much can we guarantee that we can send or that we
1424 * absolutely WILL BUFFER if we can't send it. This driver MUST honor the 1424 * absolutely WILL BUFFER if we can't send it. This driver MUST honor the
1425 * return value, hence the reason for hvcs_struct buffering. 1425 * return value, hence the reason for hvcs_struct buffering.
1426 */ 1426 */