summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2007-03-12 18:18:22 +0000
committerad <ad@NetBSD.org>2007-03-12 18:18:22 +0000
commit59d979c5f144d2bdc65c047e58d20990d835b373 (patch)
tree8070bade06a174863c97bccf2baa78be1add73df /sys/dev/raidframe
parent20407a495d0f13e03e5256a69c2b067fd8de0b92 (diff)
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_netbsdkintf.c6
-rw-r--r--sys/dev/raidframe/rf_reconmap.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c
index 4e5a3bc3ebd..0f6ce42bed5 100644
--- a/sys/dev/raidframe/rf_netbsdkintf.c
+++ b/sys/dev/raidframe/rf_netbsdkintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.226 2007/03/09 15:57:34 oster Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.227 2007/03/12 18:18:31 ad Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -146,7 +146,7 @@
***********************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.226 2007/03/09 15:57:34 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.227 2007/03/12 18:18:31 ad Exp $");
#include <sys/param.h>
#include <sys/errno.h>
@@ -3413,7 +3413,7 @@ void
rf_pool_init(struct pool *p, size_t size, const char *w_chan,
size_t xmin, size_t xmax)
{
- pool_init(p, size, 0, 0, 0, w_chan, NULL);
+ pool_init(p, size, 0, 0, 0, w_chan, NULL, IPL_BIO);
pool_sethiwat(p, xmax);
pool_prime(p, xmin);
pool_setlowat(p, xmin);
diff --git a/sys/dev/raidframe/rf_reconmap.c b/sys/dev/raidframe/rf_reconmap.c
index 4522494c64e..c6256160f57 100644
--- a/sys/dev/raidframe/rf_reconmap.c
+++ b/sys/dev/raidframe/rf_reconmap.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_reconmap.c,v 1.29 2006/11/16 01:33:23 christos Exp $ */
+/* $NetBSD: rf_reconmap.c,v 1.30 2007/03/12 18:18:31 ad Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -34,7 +34,7 @@
*************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_reconmap.c,v 1.29 2006/11/16 01:33:23 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_reconmap.c,v 1.30 2007/03/12 18:18:31 ad Exp $");
#include "rf_raid.h"
#include <sys/time.h>
@@ -108,7 +108,7 @@ rf_MakeReconMap(RF_Raid_t *raidPtr, RF_SectorCount_t ru_sectors,
pool_init(&p->elem_pool, sizeof(RF_ReconMapListElem_t), 0,
- 0, 0, "raidreconpl", NULL);
+ 0, 0, "raidreconpl", NULL, IPL_BIO);
pool_prime(&p->elem_pool, RF_NUM_RECON_POOL_ELEM);
rf_mutex_init(&p->mutex);