summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_mutex.c2
-rw-r--r--sys/kern/subr_turnstile.c2
-rw-r--r--sys/kern/subr_witness.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
index 40cc471..4f82470 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -598,7 +598,7 @@ _mtx_unlock_sleep(struct mtx *m, int opts, const char *file, int line)
/*
* The backing function for the INVARIANTS-enabled mtx_assert()
*/
-#ifdef INVARIANTS_SUPPORT
+#ifdef INVARIANT_SUPPORT
void
_mtx_assert(struct mtx *m, int what, const char *file, int line)
{
diff --git a/sys/kern/subr_turnstile.c b/sys/kern/subr_turnstile.c
index 40cc471..4f82470 100644
--- a/sys/kern/subr_turnstile.c
+++ b/sys/kern/subr_turnstile.c
@@ -598,7 +598,7 @@ _mtx_unlock_sleep(struct mtx *m, int opts, const char *file, int line)
/*
* The backing function for the INVARIANTS-enabled mtx_assert()
*/
-#ifdef INVARIANTS_SUPPORT
+#ifdef INVARIANT_SUPPORT
void
_mtx_assert(struct mtx *m, int what, const char *file, int line)
{
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 40cc471..4f82470 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -598,7 +598,7 @@ _mtx_unlock_sleep(struct mtx *m, int opts, const char *file, int line)
/*
* The backing function for the INVARIANTS-enabled mtx_assert()
*/
-#ifdef INVARIANTS_SUPPORT
+#ifdef INVARIANT_SUPPORT
void
_mtx_assert(struct mtx *m, int what, const char *file, int line)
{
OpenPOWER on IntegriCloud