diff options
| author | Alan Cox <alc@FreeBSD.org> | 2003-07-26 21:48:46 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2003-07-26 21:48:46 +0000 |
| commit | 17d89a1f67f8fab87b1687046b31a63f65742e92 (patch) | |
| tree | 74bd16b6d5626e7addb62eab7cac0e7a481c508e /sys/vm/vm_contig.c | |
| parent | fa7235b784577d7280772a2a95c6a6b0a55803a9 (diff) | |
Notes
Diffstat (limited to 'sys/vm/vm_contig.c')
| -rw-r--r-- | sys/vm/vm_contig.c | 3 |
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); } |
