aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/hvsi.c
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2006-08-05 15:14:39 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-08-06 11:57:48 -0400
commit64e0cc38b69b8d43ab9793f50e4bb09cea0e6bb9 (patch)
tree734381fd5c4db5a3a79db114603d0900980bb14c /drivers/char/hvsi.c
parent229395c90aadbadef76bacf52b9cb3326f509e93 (diff)
[PATCH] pSeries: hvsi char driver janitorial cleanup
A set of tty line discipline cleanup patches were introduced before the dawn of time, in kernel version 2.4.21. This patch performs that cleanup for the hvsi driver. The hvsi driver is used only on IBM pSeries PowerPC boxes. The driver was originally written by Hollis Blanchard, who has delegated maintainership to me. So this my first and maybe only patch in this official new role, because this driver is otherwise bug-free :-) Alan: "Actually its also a bug fix, tty->ldisc should be locked by refcounting and the helpers do this for you." Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/hvsi.c')
-rw-r--r--drivers/char/hvsi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/char/hvsi.c b/drivers/char/hvsi.c
index 54cbb58b8740..017f755632a3 100644
--- a/drivers/char/hvsi.c
+++ b/drivers/char/hvsi.c
@@ -987,10 +987,7 @@ static void hvsi_write_worker(void *arg)
987 start_j = 0; 987 start_j = 0;
988#endif /* DEBUG */ 988#endif /* DEBUG */
989 wake_up_all(&hp->emptyq); 989 wake_up_all(&hp->emptyq);
990 if (test_bit(TTY_DO_WRITE_WAKEUP, &hp->tty->flags) 990 tty_wakeup(hp->tty);
991 && hp->tty->ldisc.write_wakeup)
992 hp->tty->ldisc.write_wakeup(hp->tty);
993 wake_up_interruptible(&hp->tty->write_wait);
994 } 991 }
995 992
996out: 993out: