summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-11-09 17:53:40 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-11-09 17:53:40 +0000
commit9473d5ca6183970c256efe065773dda18e76cac4 (patch)
treec9ec3b4b0898967b165f4e25400b8686f69727b1 /sys/arch/luna88k
parent8314ec33d28a7808b9db09541a81f1ac0496c799 (diff)
Every selwakeup() should have a matching KNOTE() (even if kqueue isn't
supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and remove it from any occurences where both are used, except one for kqueue itself and one in sys_pipe.c (where the selwakeup is under a PIPE_SEL flag). Based on a diff from tedu. ok deraadt
Diffstat (limited to 'sys/arch/luna88k')
-rw-r--r--sys/arch/luna88k/dev/siotty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/luna88k/dev/siotty.c b/sys/arch/luna88k/dev/siotty.c
index 7880b7f5466..c3d552d7059 100644
--- a/sys/arch/luna88k/dev/siotty.c
+++ b/sys/arch/luna88k/dev/siotty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: siotty.c,v 1.9 2009/10/31 12:00:05 fgsch Exp $ */
+/* $OpenBSD: siotty.c,v 1.10 2009/11/09 17:53:38 nicm Exp $ */
/* $NetBSD: siotty.c,v 1.9 2002/03/17 19:40:43 atatat Exp $ */
/*-
@@ -205,7 +205,6 @@ siostart(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;