summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-11 05:58:18 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-11 05:58:18 +0000
commit144c0e42a97409307b390c74305676362a592e79 (patch)
tree3b9c0825d699605ce1aa1e5e2a29d53090c6c937 /sys/kern
parent8bdc7fe1331e03fd5f3f5630ad8d0563acb92403 (diff)
splvm, not splimp
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_malloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
index b2b58ea22e5..4674fcb3585 100644
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_malloc.c,v 1.47 2002/02/12 17:19:41 provos Exp $ */
+/* $OpenBSD: kern_malloc.c,v 1.48 2002/06/11 05:58:17 art Exp $ */
/* $NetBSD: kern_malloc.c,v 1.15.4.2 1996/06/13 17:10:56 cgd Exp $ */
/*
@@ -157,7 +157,7 @@ malloc(size, type, flags)
indx = BUCKETINDX(size);
kbp = &bucket[indx];
- s = splimp();
+ s = splvm();
#ifdef KMEMSTATS
while (ksp->ks_memuse >= ksp->ks_limit) {
if (flags & M_NOWAIT) {
@@ -350,7 +350,7 @@ free(addr, type)
kup = btokup(addr);
size = 1 << kup->ku_indx;
kbp = &bucket[kup->ku_indx];
- s = splimp();
+ s = splvm();
#ifdef DIAGNOSTIC
/*
* Check for returns of data that do not point to the