diff options
author | 2001-02-19 11:34:12 +0000 | |
---|---|---|
committer | 2001-02-19 11:34:12 +0000 | |
commit | cbd55981b73281a9a1ffc2f64a89d134bc0671fa (patch) | |
tree | 7dabf438cf3c9f57c71a934491e7319db7d8bdd1 /sys/kern/subr_pool.c | |
parent | np is changed by recursion; vinschen@redhat.com (diff) | |
download | wireguard-openbsd-cbd55981b73281a9a1ffc2f64a89d134bc0671fa.tar.xz wireguard-openbsd-cbd55981b73281a9a1ffc2f64a89d134bc0671fa.zip |
Fix LOCKDEBUG compile.
Diffstat (limited to 'sys/kern/subr_pool.c')
-rw-r--r-- | sys/kern/subr_pool.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c index ab2b9574992..4ee4a0a45cb 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_pool.c,v 1.3 2000/12/05 16:43:41 art Exp $ */ +/* $OpenBSD: subr_pool.c,v 1.4 2001/02/19 11:34:12 art Exp $ */ /* $NetBSD: subr_pool.c,v 1.37 2000/06/10 18:44:44 sommerfeld Exp $ */ /*- @@ -58,6 +58,9 @@ */ #define __predict_false(X) ((X) != 0) #define SIMPLELOCK_INITIALIZER { SLOCK_UNLOCKED } +#ifdef LOCKDEBUG +#define simple_lock_freecheck(a, s) do { /* nothing */ } while (0) +#endif /* * Pool resource management utility. |