aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2018-08-18 22:35:19 +0000
committerAlan Cox <alc@FreeBSD.org>2018-08-18 22:35:19 +0000
commit94d0f0877db6bf0511dc0198e78b870618f42d3e (patch)
treef2f650a1268aff544f6cda15482de87cc0ebb65a /sys/arm64
parent7e038bc257e9c5f7563695b88b481e493a33576f (diff)
downloadsrc-94d0f0877db6bf0511dc0198e78b870618f42d3e.tar.gz
src-94d0f0877db6bf0511dc0198e78b870618f42d3e.zip
Oops. r338030 didn't eliminate the unused arena argument from all of
kmem_alloc_attr()'s callers. Correct that mistake.
Notes
Notes: svn path=/head/; revision=338032
Diffstat (limited to 'sys/arm64')
-rw-r--r--sys/arm64/arm64/busdma_bounce.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arm64/arm64/busdma_bounce.c b/sys/arm64/arm64/busdma_bounce.c
index 31eaf05370b6..c6561e43c084 100644
--- a/sys/arm64/arm64/busdma_bounce.c
+++ b/sys/arm64/arm64/busdma_bounce.c
@@ -491,9 +491,8 @@ bounce_bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags,
dmat->common.alignment <= PAGE_SIZE &&
(dmat->common.boundary % PAGE_SIZE) == 0) {
/* Page-based multi-segment allocations allowed */
- *vaddr = (void *)kmem_alloc_attr(kernel_arena,
- dmat->common.maxsize, mflags, 0ul, dmat->common.lowaddr,
- attr);
+ *vaddr = (void *)kmem_alloc_attr(dmat->common.maxsize, mflags,
+ 0ul, dmat->common.lowaddr, attr);
dmat->bounce_flags |= BF_KMEM_ALLOC;
} else {
*vaddr = (void *)kmem_alloc_contig(kernel_arena,