diff options
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/dev/pcons.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/sab.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/sbbc.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/vcctty.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/vcons.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/z8530tty.c | 3 |
6 files changed, 12 insertions, 6 deletions
diff --git a/sys/arch/sparc64/dev/pcons.c b/sys/arch/sparc64/dev/pcons.c index 9f738e358bc..293f35bd8c0 100644 --- a/sys/arch/sparc64/dev/pcons.c +++ b/sys/arch/sparc64/dev/pcons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcons.c,v 1.14 2009/09/05 14:09:35 miod Exp $ */ +/* $OpenBSD: pcons.c,v 1.15 2009/10/31 06:40:16 deraadt Exp $ */ /* $NetBSD: pcons.c,v 1.7 2001/05/02 10:32:20 scw Exp $ */ /*- @@ -359,6 +359,7 @@ pconsstart(tp) wakeup(cl); } selwakeup(&tp->t_wsel); + KNOTE(&tp->t_wsel.si_note, 0); } splx(s); } diff --git a/sys/arch/sparc64/dev/sab.c b/sys/arch/sparc64/dev/sab.c index 8d6ecef0628..904cd1f1700 100644 --- a/sys/arch/sparc64/dev/sab.c +++ b/sys/arch/sparc64/dev/sab.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sab.c,v 1.25 2008/05/24 00:11:31 kettenis Exp $ */ +/* $OpenBSD: sab.c,v 1.26 2009/10/31 06:40:16 deraadt Exp $ */ /* * Copyright (c) 2001 Jason L. Wright (jason@thought.net) @@ -1099,6 +1099,7 @@ sabtty_start(tp) wakeup(&tp->t_outq); } selwakeup(&tp->t_wsel); + KNOTE(&tp->t_wsel.si_note, 0); } if (tp->t_outq.c_cc) { sc->sc_txc = ndqb(&tp->t_outq, 0); diff --git a/sys/arch/sparc64/dev/sbbc.c b/sys/arch/sparc64/dev/sbbc.c index 2308365fd45..3ae379c3d21 100644 --- a/sys/arch/sparc64/dev/sbbc.c +++ b/sys/arch/sparc64/dev/sbbc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sbbc.c,v 1.5 2008/10/05 10:51:39 kettenis Exp $ */ +/* $OpenBSD: sbbc.c,v 1.6 2009/10/31 06:40:16 deraadt Exp $ */ /* * Copyright (c) 2008 Mark Kettenis * @@ -629,6 +629,7 @@ sbbcstart(struct tty *tp) wakeup((caddr_t)&tp->t_outq); } selwakeup(&tp->t_wsel); + KNOTE(&tp->t_wsel.si_note, 0); } tp->t_state |= TS_BUSY; while (tp->t_outq.c_cc != 0) diff --git a/sys/arch/sparc64/dev/vcctty.c b/sys/arch/sparc64/dev/vcctty.c index 170f2278905..5c59a33c530 100644 --- a/sys/arch/sparc64/dev/vcctty.c +++ b/sys/arch/sparc64/dev/vcctty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vcctty.c,v 1.1 2009/05/10 12:24:04 kettenis Exp $ */ +/* $OpenBSD: vcctty.c,v 1.2 2009/10/31 06:40:16 deraadt Exp $ */ /* * Copyright (c) 2009 Mark Kettenis * @@ -440,6 +440,7 @@ vccttystart(struct tty *tp) wakeup((caddr_t)&tp->t_outq); } selwakeup(&tp->t_wsel); + KNOTE(&tp->t_wsel.si_note, 0); } tp->t_state |= TS_BUSY; while (tp->t_outq.c_cc != 0) diff --git a/sys/arch/sparc64/dev/vcons.c b/sys/arch/sparc64/dev/vcons.c index 8cb47894af6..a1daee4977c 100644 --- a/sys/arch/sparc64/dev/vcons.c +++ b/sys/arch/sparc64/dev/vcons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vcons.c,v 1.5 2008/11/24 16:19:33 kettenis Exp $ */ +/* $OpenBSD: vcons.c,v 1.6 2009/10/31 06:40:16 deraadt Exp $ */ /* * Copyright (c) 2008 Mark Kettenis * @@ -280,6 +280,7 @@ vconsstart(struct tty *tp) wakeup((caddr_t)&tp->t_outq); } selwakeup(&tp->t_wsel); + KNOTE(&tp->t_wsel.si_note, 0); } tp->t_state |= TS_BUSY; while (tp->t_outq.c_cc != 0) diff --git a/sys/arch/sparc64/dev/z8530tty.c b/sys/arch/sparc64/dev/z8530tty.c index 80a14247bcc..c1312a6b23b 100644 --- a/sys/arch/sparc64/dev/z8530tty.c +++ b/sys/arch/sparc64/dev/z8530tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: z8530tty.c,v 1.15 2008/10/15 19:12:19 blambert Exp $ */ +/* $OpenBSD: z8530tty.c,v 1.16 2009/10/31 06:40:16 deraadt Exp $ */ /* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */ /*- @@ -776,6 +776,7 @@ zsstart(tp) wakeup((caddr_t)&tp->t_outq); } selwakeup(&tp->t_wsel); + KNOTE(&tp->t_wsel.si_note, 0); if (tp->t_outq.c_cc == 0) goto out; } |