aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Moschuk <dan@FreeBSD.org>2002-03-30 03:52:52 +0000
committerDan Moschuk <dan@FreeBSD.org>2002-03-30 03:52:52 +0000
commite7876c09439de1a64ebee89e2f47fd2d8118da13 (patch)
treec7c34e329f00cd05951eaeb85bc95520080c9009
parent5d4425e405c760d2493f28bda72226d6d994b38d (diff)
Notes
-rw-r--r--sys/conf/options1
-rw-r--r--sys/kern/kern_condvar.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/conf/options b/sys/conf/options
index 58e4fe3ba24e..b67aaf493555 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -498,7 +498,6 @@ KTR_ENTRIES opt_global.h
KTR_EXTEND opt_global.h
KTR_VERBOSE opt_ktr.h
MUTEX_DEBUG opt_global.h
-CV_DEBUG opt_global.h
WITNESS opt_global.h
WITNESS_DDB opt_witness.h
WITNESS_SKIPSPIN opt_witness.h
diff --git a/sys/kern/kern_condvar.c b/sys/kern/kern_condvar.c
index fe88c5571a57..ba191701dc4c 100644
--- a/sys/kern/kern_condvar.c
+++ b/sys/kern/kern_condvar.c
@@ -54,7 +54,7 @@
mtx_assert((mp), MA_OWNED | MA_NOTRECURSED); \
} while (0)
-#ifdef CV_DEBUG
+#ifdef INVARIANTS
#define CV_WAIT_VALIDATE(cvp, mp) do { \
if (TAILQ_EMPTY(&(cvp)->cv_waitq)) { \
/* Only waiter. */ \