summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2006-01-24 22:24:05 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2006-01-24 22:24:05 +0000
commit67f7fe8c01d7f92f8446f4a88cde8ec1e95f1b95 (patch)
treebc378a962949ded31db2555880bcc570682fad59 /sys/kern
parent2b604e82b2bbe81e3a27f83056b25102e817f1c8 (diff)
Notes
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
index d52412785f44..401f372609b0 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -886,7 +886,7 @@ mtx_destroy(struct mtx *m)
MPASS((m->mtx_lock & (MTX_RECURSED|MTX_CONTESTED)) == 0);
/* Perform the non-mtx related part of mtx_unlock_spin(). */
- if (LOCK_CLASS(&m->mtx_object) == &lock_class_mtx_spin)
+ if (LOCK_CLASS(&m->mtx_object) == &lock_class_mtx_spin)
spinlock_exit();
/* Tell witness this isn't locked to make it happy. */