summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/z8530tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mac68k/dev/z8530tty.c')
-rw-r--r--sys/arch/mac68k/dev/z8530tty.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/arch/mac68k/dev/z8530tty.c b/sys/arch/mac68k/dev/z8530tty.c
index 56a6ac66254..6f856bbbb5b 100644
--- a/sys/arch/mac68k/dev/z8530tty.c
+++ b/sys/arch/mac68k/dev/z8530tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530tty.c,v 1.23 2010/06/28 14:13:28 deraadt Exp $ */
+/* $OpenBSD: z8530tty.c,v 1.24 2010/07/02 17:27:01 nicm Exp $ */
/* $NetBSD: z8530tty.c,v 1.14 1996/12/17 20:42:43 gwr Exp $ */
/*
@@ -639,13 +639,7 @@ zsstart(tp)
* If there are sleepers, and output has drained below low
* water mark, awaken.
*/
- if (tp->t_outq.c_cc <= tp->t_lowat) {
- if (tp->t_state & TS_ASLEEP) {
- tp->t_state &= ~TS_ASLEEP;
- wakeup((caddr_t)&tp->t_outq);
- }
- selwakeup(&tp->t_wsel);
- }
+ ttwakeupwr(tp);
nch = ndqb(&tp->t_outq, 0); /* XXX */
(void) splzs();