summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorassar <assar@cvs.openbsd.org>2001-07-15 11:03:06 +0000
committerassar <assar@cvs.openbsd.org>2001-07-15 11:03:06 +0000
commit6e7eceb42355237a3982c85ff1e2e374728c15e3 (patch)
tree3db3c335421512fcca9435435f80d75c85c61cdf
parent0babcadb62998ffd1d5f60e0d51d4447b66994b6 (diff)
(define simple_lock_only_held): add dummy nop macro
-rw-r--r--sys/kern/subr_pool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c
index 25ca56ca4cd..b8399989131 100644
--- a/sys/kern/subr_pool.c
+++ b/sys/kern/subr_pool.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_pool.c,v 1.10 2001/06/27 04:49:46 art Exp $ */
+/* $OpenBSD: subr_pool.c,v 1.11 2001/07/15 11:03:05 assar Exp $ */
/* $NetBSD: subr_pool.c,v 1.59 2001/06/05 18:51:04 thorpej Exp $ */
/*-
@@ -62,6 +62,7 @@
#define SIMPLELOCK_INITIALIZER { SLOCK_UNLOCKED }
#ifdef LOCKDEBUG
#define simple_lock_freecheck(a, s) do { /* nothing */ } while (0)
+#define simple_lock_only_held(lkp, str) do { /* nothing */ } while (0)
#endif
#define LOCK_ASSERT(x) /* nothing */