Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev missed wakeup -> cv_broadcast conversion.
details: https://anonhg.NetBSD.org/src/rev/ce7bdc6a58d6
branches: trunk
changeset: 810044:ce7bdc6a58d6
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sun Aug 16 17:32:31 2015 +0000
description:
missed wakeup -> cv_broadcast conversion.
diffstat:
sys/dev/ld.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9065a2c517da -r ce7bdc6a58d6 sys/dev/ld.c
--- a/sys/dev/ld.c Sun Aug 16 17:28:28 2015 +0000
+++ b/sys/dev/ld.c Sun Aug 16 17:32:31 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ld.c,v 1.87 2015/08/16 17:22:00 mlelstv Exp $ */
+/* $NetBSD: ld.c,v 1.88 2015/08/16 17:32:31 mlelstv Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ld.c,v 1.87 2015/08/16 17:22:00 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ld.c,v 1.88 2015/08/16 17:32:31 mlelstv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -466,7 +466,7 @@
if (--sc->sc_queuecnt <= sc->sc_maxqueuecnt) {
if ((sc->sc_flags & LDF_DRAIN) != 0) {
sc->sc_flags &= ~LDF_DRAIN;
- wakeup(&sc->sc_queuecnt);
+ cv_broadcast(&sc->sc_drain);
}
mutex_exit(&sc->sc_mutex);
ld_start(dksc->sc_dev);
Home |
Main Index |
Thread Index |
Old Index