diff options
author | bde <bde@FreeBSD.org> | 1999-01-02 11:34:57 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-01-02 11:34:57 +0000 |
commit | 734d13314e6e9f235abcba66a420f81b29606173 (patch) | |
tree | a59d3d6af3585db9166b59563c58b540faccaa4d /sys/kern/subr_rman.c | |
parent | 60b0c6afef485cb129b9755b9ca0fc373c700689 (diff) | |
download | FreeBSD-src-734d13314e6e9f235abcba66a420f81b29606173.zip FreeBSD-src-734d13314e6e9f235abcba66a420f81b29606173.tar.gz |
Ifdefed conditionally used simplock variables.
Diffstat (limited to 'sys/kern/subr_rman.c')
-rw-r--r-- | sys/kern/subr_rman.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_rman.c b/sys/kern/subr_rman.c index ddf576c..e0526bb 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); |