summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-10-31 06:40:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-10-31 06:40:18 +0000
commitf3184ac14f03da17bde002ccff8abf43076b34bc (patch)
tree095aba03ec9c46097cdee71ffbe0a3cf6726ded1 /sys/arch/mac68k
parent84fb3053dd046225edb7868a8dd17410070e5b8c (diff)
Add missing KNOTE() calls after selwakeup(), until we decide if the KNOTE()
calls can go directly into selwakeup() safely long discussion with nicm, murmers of consent from tedu and miod, noone else seems to care of kqueue is busted as long as it makes their sockets move data fast... pretty sad.
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/dev/z8530tty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mac68k/dev/z8530tty.c b/sys/arch/mac68k/dev/z8530tty.c
index 246485e76c1..5dd8a005625 100644
--- a/sys/arch/mac68k/dev/z8530tty.c
+++ b/sys/arch/mac68k/dev/z8530tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530tty.c,v 1.18 2009/03/15 20:40:25 miod Exp $ */
+/* $OpenBSD: z8530tty.c,v 1.19 2009/10/31 06:40:16 deraadt Exp $ */
/* $NetBSD: z8530tty.c,v 1.14 1996/12/17 20:42:43 gwr Exp $ */
/*
@@ -645,6 +645,7 @@ zsstart(tp)
wakeup((caddr_t)&tp->t_outq);
}
selwakeup(&tp->t_wsel);
+ KNOTE(&tp->t_wsel.si_note, 0);
}
nch = ndqb(&tp->t_outq, 0); /* XXX */