diff options
author | jhb <jhb@FreeBSD.org> | 2001-09-17 19:31:26 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-09-17 19:31:26 +0000 |
commit | cf2c122124c1b7b04234fd7245d94c228760f63e (patch) | |
tree | dba9fecdbaf9e603c1cb9f6e436978e3d2d98ab5 | |
parent | 1f9362e16d3cdc0e0e0dc48797d98b88723af9d0 (diff) | |
download | FreeBSD-src-cf2c122124c1b7b04234fd7245d94c228760f63e.zip FreeBSD-src-cf2c122124c1b7b04234fd7245d94c228760f63e.tar.gz |
Don't inline mutexes in the LOCK_DEBUG case.
-rw-r--r-- | sys/sys/mutex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/mutex.h b/sys/sys/mutex.h index b7c51b6..9dbc21d 100644 --- a/sys/sys/mutex.h +++ b/sys/sys/mutex.h @@ -238,7 +238,7 @@ void _mtx_assert(struct mtx *m, int what, const char *file, int line); #define mtx_unlock(m) mtx_unlock_flags((m), 0) #define mtx_unlock_spin(m) mtx_unlock_spin_flags((m), 0) -#ifdef KLD_MODULE +#ifdef LOCK_DEBUG #define mtx_lock_flags(m, opts) \ _mtx_lock_flags((m), (opts), __FILE__, __LINE__) #define mtx_unlock_flags(m, opts) \ |