summaryrefslogtreecommitdiff
path: root/sys/arch/arm
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/arm
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/arm')
-rw-r--r--sys/arch/arm/s3c2xx0/sscom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arm/s3c2xx0/sscom.c b/sys/arch/arm/s3c2xx0/sscom.c
index 70069f3a818..f016e49a7c3 100644
--- a/sys/arch/arm/s3c2xx0/sscom.c
+++ b/sys/arch/arm/s3c2xx0/sscom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sscom.c,v 1.11 2009/10/13 19:33:16 pirofti Exp $ */
+/* $OpenBSD: sscom.c,v 1.12 2009/10/31 06:40:16 deraadt Exp $ */
/* $NetBSD: sscom.c,v 1.29 2008/06/11 22:37:21 cegger Exp $ */
/*
@@ -1378,6 +1378,7 @@ sscomstart(struct tty *tp)
if (tp->t_outq.c_cc == 0)
goto out;
selwakeup(&tp->t_wsel);
+ KNOTE(&tp->t_wsel.si_note, 0);
}
SET(tp->t_state, TS_BUSY);