diff --git a/sys/amd64/amd64/busdma_machdep.c b/sys/amd64/amd64/busdma_machdep.c index b701ab09917e..7d2fdb59f766 100644 --- a/sys/amd64/amd64/busdma_machdep.c +++ b/sys/amd64/amd64/busdma_machdep.c @@ -816,7 +816,7 @@ alloc_bounce_pages(bus_dma_tag_t dmat, u_int numpages) M_NOWAIT, 0ul, dmat->lowaddr, PAGE_SIZE, - 0); + dmat->boundary); mtx_unlock(&Giant); if (bpage->vaddr == 0) { free(bpage, M_DEVBUF); diff --git a/sys/i386/i386/busdma_machdep.c b/sys/i386/i386/busdma_machdep.c index 02db2bdc1e03..5ffdcf9b888b 100644 --- a/sys/i386/i386/busdma_machdep.c +++ b/sys/i386/i386/busdma_machdep.c @@ -818,7 +818,7 @@ alloc_bounce_pages(bus_dma_tag_t dmat, u_int numpages) M_NOWAIT, 0ul, dmat->lowaddr, PAGE_SIZE, - 0); + dmat->boundary); mtx_unlock(&Giant); if (bpage->vaddr == 0) { free(bpage, M_DEVBUF); diff --git a/sys/ia64/ia64/busdma_machdep.c b/sys/ia64/ia64/busdma_machdep.c index dd29ff6ef841..69f69ec970d0 100644 --- a/sys/ia64/ia64/busdma_machdep.c +++ b/sys/ia64/ia64/busdma_machdep.c @@ -872,7 +872,7 @@ alloc_bounce_pages(bus_dma_tag_t dmat, u_int numpages) M_NOWAIT, 0ul, dmat->lowaddr, PAGE_SIZE, - 0); + dmat->boundary); mtx_unlock(&Giant); if (bpage->vaddr == NULL) { free(bpage, M_DEVBUF);