summaryrefslogtreecommitdiff
path: root/sys/vm/vm_contig.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2003-07-26 21:48:46 +0000
committerAlan Cox <alc@FreeBSD.org>2003-07-26 21:48:46 +0000
commit17d89a1f67f8fab87b1687046b31a63f65742e92 (patch)
tree74bd16b6d5626e7addb62eab7cac0e7a481c508e /sys/vm/vm_contig.c
parentfa7235b784577d7280772a2a95c6a6b0a55803a9 (diff)
Notes
Diffstat (limited to 'sys/vm/vm_contig.c')
-rw-r--r--sys/vm/vm_contig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/vm_contig.c b/sys/vm/vm_contig.c
index 25d9a3a91c48..f26a8d1c913d 100644
--- a/sys/vm/vm_contig.c
+++ b/sys/vm/vm_contig.c
@@ -286,9 +286,10 @@ contigmalloc(
{
void * ret;
- GIANT_REQUIRED;
+ mtx_lock(&Giant);
ret = contigmalloc1(size, type, flags, low, high, alignment, boundary,
kernel_map);
+ mtx_unlock(&Giant);
return (ret);
}