From 6b2c39723d2f8be614d4fd8e17f9049e45a6c489 Mon Sep 17 00:00:00 2001 From: pooka Date: Mon, 6 Sep 2010 18:03:57 +0000 Subject: [PATCH] Broadcast instead of signal since the condition is a boolean. --- sys/rump/librump/rumpvfs/rumpblk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/rump/librump/rumpvfs/rumpblk.c b/sys/rump/librump/rumpvfs/rumpblk.c index f3e2610d0cca..975d0c10b8c8 100644 --- a/sys/rump/librump/rumpvfs/rumpblk.c +++ b/sys/rump/librump/rumpvfs/rumpblk.c @@ -1,4 +1,4 @@ -/* $NetBSD: rumpblk.c,v 1.41 2010/06/21 14:25:35 pooka Exp $ */ +/* $NetBSD: rumpblk.c,v 1.42 2010/09/06 18:03:57 pooka Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights Reserved. @@ -52,7 +52,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: rumpblk.c,v 1.41 2010/06/21 14:25:35 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rumpblk.c,v 1.42 2010/09/06 18:03:57 pooka Exp $"); #include #include @@ -272,7 +272,7 @@ putwindow(struct rblkdev *rblk, struct blkwin *win) mutex_enter(&rblk->rblk_memmtx); if (--win->win_refcnt == 0 && rblk->rblk_waiting) { rblk->rblk_waiting = false; - cv_signal(&rblk->rblk_memcv); + cv_broadcast(&rblk->rblk_memcv); } KASSERT(win->win_refcnt >= 0); mutex_exit(&rblk->rblk_memmtx);