summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2002-06-11 05:59:25 +0000
committerart <art@openbsd.org>2002-06-11 05:59:25 +0000
commit16a54b9c619f0860eefbb44dd2e4345a69e3b279 (patch)
tree20166b42563ee728404b1378fa7922c1c84fc06e
parentRemove \n from warnx(3). ok deraadt@ (diff)
downloadwireguard-openbsd-16a54b9c619f0860eefbb44dd2e4345a69e3b279.tar.xz
wireguard-openbsd-16a54b9c619f0860eefbb44dd2e4345a69e3b279.zip
splvm, not splimp.
-rw-r--r--sys/kern/subr_extent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_extent.c b/sys/kern/subr_extent.c
index 03c8447f202..0c99565ae7e 100644
--- a/sys/kern/subr_extent.c
+++ b/sys/kern/subr_extent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_extent.c,v 1.21 2002/03/21 16:24:16 jason Exp $ */
+/* $OpenBSD: subr_extent.c,v 1.22 2002/06/11 05:59:25 art Exp $ */
/* $NetBSD: subr_extent.c,v 1.7 1996/11/21 18:46:34 cgd Exp $ */
/*-
@@ -1058,7 +1058,7 @@ extent_alloc_region_descriptor(ex, flags)
}
alloc:
- s = splimp();
+ s = splvm();
rp = pool_get(&ex_region_pl, (flags & EX_WAITOK) ? PR_WAITOK : 0);
splx(s);
if (rp != NULL)
@@ -1090,7 +1090,7 @@ extent_free_region_descriptor(ex, rp)
er_link);
goto wake_em_up;
} else {
- s = splimp();
+ s = splvm();
pool_put(&ex_region_pl, rp);
splx(s);
}
@@ -1111,7 +1111,7 @@ extent_free_region_descriptor(ex, rp)
/*
* We know it's dynamically allocated if we get here.
*/
- s = splimp();
+ s = splvm();
pool_put(&ex_region_pl, rp);
splx(s);
}