From 58dac15e58d904c4fbc43948e38c1b02ed80e5a3 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 17 Sep 2001 19:31:26 +0000 Subject: [PATCH] Don't inline mutexes in the LOCK_DEBUG case. --- sys/sys/mutex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/mutex.h b/sys/sys/mutex.h index b7c51b6206bc..9dbc21dadd80 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) \