summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_paritylog.h
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2011-05-11 06:20:33 +0000
committermrg <mrg@NetBSD.org>2011-05-11 06:20:33 +0000
commitf1da238299e43663fce0d48a79e7c0db5876e8a2 (patch)
tree821dd1c91d8916caa19fa60f0c240633deb28e14 /sys/dev/raidframe/rf_paritylog.h
parent7280cc26582c664f35766206804c797e2f00942a (diff)
convert regionBufferPool.mutex/cond and parityBufferPool.mutex/cond
to kmutex/cv.
Diffstat (limited to 'sys/dev/raidframe/rf_paritylog.h')
-rw-r--r--sys/dev/raidframe/rf_paritylog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_paritylog.h b/sys/dev/raidframe/rf_paritylog.h
index 141a6a8428d..e97f28a8387 100644
--- a/sys/dev/raidframe/rf_paritylog.h
+++ b/sys/dev/raidframe/rf_paritylog.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_paritylog.h,v 1.10 2011/05/11 06:03:06 mrg Exp $ */
+/* $NetBSD: rf_paritylog.h,v 1.11 2011/05/11 06:20:33 mrg Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -94,8 +94,8 @@ struct RF_ParityLogQueue_s {
};
struct RF_RegionBufferQueue_s {
- RF_DECLARE_MUTEX(mutex)
- RF_DECLARE_COND(cond)
+ rf_declare_mutex2(mutex);
+ rf_declare_cond2(cond);
int bufferSize;
int totalBuffers; /* size of array 'buffers' */
int availableBuffers; /* num available 'buffers' */