summaryrefslogtreecommitdiff
path: root/sys/kern/subr_rman.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1999-01-02 11:34:57 +0000
committerBruce Evans <bde@FreeBSD.org>1999-01-02 11:34:57 +0000
commit289bdf33d3a55679d1a56260a5c114c49cd0950d (patch)
treec00ebad09449facd5afa83fd74cde219fde8d4ad /sys/kern/subr_rman.c
parent896560726390a1a34891e93abbd40877ab61453d (diff)
Notes
Diffstat (limited to 'sys/kern/subr_rman.c')
-rw-r--r--sys/kern/subr_rman.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_rman.c b/sys/kern/subr_rman.c
index ddf576c326b0..e0526bb5badc 100644
--- a/sys/kern/subr_rman.c
+++ b/sys/kern/subr_rman.c
@@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: subr_rman.c,v 1.2 1998/11/23 09:33:35 bde Exp $
+ * $Id: subr_rman.c,v 1.3 1998/12/07 21:58:29 archie Exp $
*/
/*
@@ -68,7 +68,9 @@
MALLOC_DEFINE(M_RMAN, "rman", "Resource manager");
struct rman_head rman_head;
+#ifndef NULL_SIMPLELOCKS
static struct simplelock rman_lock; /* mutex to protect rman_head */
+#endif
static int int_rman_activate_resource(struct rman *rm, struct resource *r,
struct resource **whohas);
static int int_rman_release_resource(struct rman *rm, struct resource *r);