diff options
author | Alan Cox <alc@FreeBSD.org> | 2018-08-20 15:57:27 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2018-08-20 15:57:27 +0000 |
commit | 44d0efb2154d884c85919229f28b31d50d25a350 (patch) | |
tree | d8950cf9ecd0e22a11be2b1a5be868240f19766a /sys/arm/arm/pmap-v6.c | |
parent | 8805f3d7be2ce01a2f80c6a33b4cd84e6632a81d (diff) | |
download | src-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/arm/arm/pmap-v6.c')
-rw-r--r-- | sys/arm/arm/pmap-v6.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arm/arm/pmap-v6.c b/sys/arm/arm/pmap-v6.c index 2d3c4f534faa..e62c74d987ff 100644 --- a/sys/arm/arm/pmap-v6.c +++ b/sys/arm/arm/pmap-v6.c @@ -2219,9 +2219,8 @@ pmap_pinit(pmap_t pmap) */ if (pmap->pm_pt1 == NULL) { - pmap->pm_pt1 = (pt1_entry_t *)kmem_alloc_contig(kernel_arena, - NB_IN_PT1, M_NOWAIT | M_ZERO, 0, -1UL, NB_IN_PT1, 0, - pt_memattr); + pmap->pm_pt1 = (pt1_entry_t *)kmem_alloc_contig(NB_IN_PT1, + M_NOWAIT | M_ZERO, 0, -1UL, NB_IN_PT1, 0, pt_memattr); if (pmap->pm_pt1 == NULL) return (0); } |