Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/vchiq/dist/interface/compat sema mutex need...
details: https://anonhg.NetBSD.org/src/rev/4c36d3396d0b
branches: trunk
changeset: 785660:4c36d3396d0b
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Mar 24 14:26:16 2013 +0000
description:
sema mutex needs to be IPL_VM
diffstat:
sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 02152cecb70a -r 4c36d3396d0b sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.c
--- a/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.c Sun Mar 24 14:11:59 2013 +0000
+++ b/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.c Sun Mar 24 14:26:16 2013 +0000
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: vchi_bsd.c,v 1.1 2013/03/08 12:32:30 jmcneill Exp $
+ * $Id: vchi_bsd.c,v 1.2 2013/03/24 14:26:16 jmcneill Exp $
*/
#include <sys/types.h>
@@ -253,7 +253,7 @@
_sema_init(struct semaphore *s, int value)
{
bzero(s, sizeof(*s));
- mutex_init(&s->mtx, MUTEX_DEFAULT, IPL_NONE);
+ mutex_init(&s->mtx, MUTEX_DEFAULT, IPL_VM);
cv_init(&s->cv, "sema cv");
s->value = value;
}
Home |
Main Index |
Thread Index |
Old Index