From 09afbbeda49f2d97b3399b74d9330ece54e2d0e5 Mon Sep 17 00:00:00 2001 From: pooka Date: Tue, 7 Aug 2007 17:55:49 +0000 Subject: [PATCH] mutex_pwned - needed for kassert --- sys/rump/librump/rumpkern/lock_stub.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sys/rump/librump/rumpkern/lock_stub.c b/sys/rump/librump/rumpkern/lock_stub.c index d4bda7a0e48d..b2f6c51b0ff9 100644 --- a/sys/rump/librump/rumpkern/lock_stub.c +++ b/sys/rump/librump/rumpkern/lock_stub.c @@ -1,4 +1,4 @@ -/* $NetBSD: lock_stub.c,v 1.1 2007/08/05 22:28:08 pooka Exp $ */ +/* $NetBSD: lock_stub.c,v 1.2 2007/08/07 17:55:49 pooka Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -95,3 +95,10 @@ mutex_exit(kmutex_t *mtx) return; } + +int +mutex_owned(kmutex_t *mtx) +{ + + return 1; +}