summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_reconstruct.h
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2011-05-01 10:01:01 +0000
committermrg <mrg@NetBSD.org>2011-05-01 10:01:01 +0000
commitf78020a2f433a44bef760cf9083cbc42ed37c360 (patch)
tree3bd2446ea252b48fb258526ac0ea67ef2fcc64a5 /sys/dev/raidframe/rf_reconstruct.h
parentaf1ef5cc31e6ff645ce013f4856cebc6602aed04 (diff)
convert eq_mutex to a kmutex.
convert ltsleep() used for plain timeout into kpause().
Diffstat (limited to 'sys/dev/raidframe/rf_reconstruct.h')
-rw-r--r--sys/dev/raidframe/rf_reconstruct.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_reconstruct.h b/sys/dev/raidframe/rf_reconstruct.h
index f67669eb5ba..ac616b2046b 100644
--- a/sys/dev/raidframe/rf_reconstruct.h
+++ b/sys/dev/raidframe/rf_reconstruct.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_reconstruct.h,v 1.24 2008/05/19 19:49:55 oster Exp $ */
+/* $NetBSD: rf_reconstruct.h,v 1.25 2011/05/01 10:01:01 mrg Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -137,7 +137,7 @@ struct RF_ReconCtrl_s {
/* reconstruction event queue */
RF_ReconEvent_t *eventQueue; /* queue of pending reconstruction
* events */
- RF_DECLARE_MUTEX(eq_mutex) /* mutex for locking event
+ rf_declare_mutex2(eq_mutex); /* mutex for locking event
* queue */
int eq_count; /* debug only */