summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_engine.c
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2011-05-11 18:13:12 +0000
committermrg <mrg@NetBSD.org>2011-05-11 18:13:12 +0000
commit5e1b9a4c81acf07afe2e53eb156bb859a76a95ee (patch)
tree61b84f47648dd3b4190a212bbad2e324d653ecc9 /sys/dev/raidframe/rf_engine.c
parentaad8c4ad3b56bf3ca9f708d4e111f2932fee7b06 (diff)
convert the main raidPtr mutex to a kmutex, and add a couple of cv's to
cover the old sleep/wakeup points for adding_hot_spare and waitForReconCond. convert all remaining simple_lock's to kmutexes (they're not used or compiled right now... even with all options enabled) and remove the support for them. this leaves just a pair of tsleep()/wakeup() calls using old scheduling APIs.
Diffstat (limited to 'sys/dev/raidframe/rf_engine.c')
-rw-r--r--sys/dev/raidframe/rf_engine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_engine.c b/sys/dev/raidframe/rf_engine.c
index 09089162a9f..9a0c5e44894 100644
--- a/sys/dev/raidframe/rf_engine.c
+++ b/sys/dev/raidframe/rf_engine.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_engine.c,v 1.45 2011/05/02 01:14:06 mrg Exp $ */
+/* $NetBSD: rf_engine.c,v 1.46 2011/05/11 18:13:12 mrg Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -55,7 +55,7 @@
****************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_engine.c,v 1.45 2011/05/02 01:14:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_engine.c,v 1.46 2011/05/11 18:13:12 mrg Exp $");
#include <sys/errno.h>
@@ -86,7 +86,7 @@ static void rf_RaidIOThread(RF_ThreadArg_t arg);
rf_wait_cond2((_r_)->node_queue_cv, (_r_)->node_queue_mutex)
#define DO_SIGNAL(_r_) \
- rf_broadcast_cond2((_r_)->node_queue_cv) /* XXX RF_SIGNAL_COND? */
+ rf_broadcast_cond2((_r_)->node_queue_cv) /* XXX rf_signal_cond2? */
static void
rf_ShutdownEngine(void *arg)