diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c index 40cc471a1f9b..4f8247017886 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 40cc471a1f9b..4f8247017886 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 40cc471a1f9b..4f8247017886 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) {