aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_malloc.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2018-08-20 15:57:27 +0000
committerAlan Cox <alc@FreeBSD.org>2018-08-20 15:57:27 +0000
commit44d0efb2154d884c85919229f28b31d50d25a350 (patch)
treed8950cf9ecd0e22a11be2b1a5be868240f19766a /sys/kern/kern_malloc.c
parent8805f3d7be2ce01a2f80c6a33b4cd84e6632a81d (diff)
downloadsrc-44d0efb2154d884c85919229f28b31d50d25a350.tar.gz
src-44d0efb2154d884c85919229f28b31d50d25a350.zip
Eliminate kmem_alloc_contig()'s unused arena parameter.
Reviewed by: hselasky, kib, markj Discussed with: jeff Differential Revision: https://reviews.freebsd.org/D16799
Notes
Notes: svn path=/head/; revision=338107
Diffstat (limited to 'sys/kern/kern_malloc.c')
-rw-r--r--sys/kern/kern_malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
index 3bc0e6ee0d11..0269298b6a0e 100644
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -443,8 +443,8 @@ contigmalloc(unsigned long size, struct malloc_type *type, int flags,
{
void *ret;
- ret = (void *)kmem_alloc_contig(kernel_arena, size, flags, low, high,
- alignment, boundary, VM_MEMATTR_DEFAULT);
+ ret = (void *)kmem_alloc_contig(size, flags, low, high, alignment,
+ boundary, VM_MEMATTR_DEFAULT);
if (ret != NULL)
malloc_type_allocated(type, round_page(size));
return (ret);