summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-09-19 22:03:59 +0000
committersam <sam@FreeBSD.org>2003-09-19 22:03:59 +0000
commitfabadbbaf1c027fcb9853647dbb8ab1eff2e397c (patch)
tree8de7c82e7fa0453afadf37e19e2d858fea56fbcf
parent6840ea324a25c6cbd011b1df92142ccbe910b1c3 (diff)
downloadFreeBSD-src-fabadbbaf1c027fcb9853647dbb8ab1eff2e397c.zip
FreeBSD-src-fabadbbaf1c027fcb9853647dbb8ab1eff2e397c.tar.gz
revert rev 1.64; this is not needed with rev 1.49 of lock.h
as LOCK_DEBUG is implied by MUTEX_PROFILING which stops inline expansion of the mutex operations Supported by: FreeBSD Foundation
-rw-r--r--sys/sys/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/mutex.h b/sys/sys/mutex.h
index f9c38e4..9601fd7 100644
--- a/sys/sys/mutex.h
+++ b/sys/sys/mutex.h
@@ -263,7 +263,7 @@ extern struct mtx_pool *mtxpool_sleep;
#ifndef LOCK_DEBUG
#error LOCK_DEBUG not defined, include <sys/lock.h> before <sys/mutex.h>
#endif
-#if LOCK_DEBUG > 0 || defined(MUTEX_NOINLINE) || defined(MUTEX_PROFILING)
+#if LOCK_DEBUG > 0 || defined(MUTEX_NOINLINE)
#define mtx_lock_flags(m, opts) \
_mtx_lock_flags((m), (opts), LOCK_FILE, LOCK_LINE)
#define mtx_unlock_flags(m, opts) \
OpenPOWER on IntegriCloud