Sync with i386 - dont count needed bounce pages if loading a buffer that
was created with bud_dmamem_alloc()
This commit is contained in:
parent
bbd7f0bea4
commit
e4b3358b15
@ -526,7 +526,7 @@ _bus_dmamap_load_buffer(bus_dma_tag_t dmat,
|
||||
|
||||
if ((dmat->lowaddr < ptoa((vm_paddr_t)Maxmem)
|
||||
|| dmat->boundary > 0 || dmat->alignment > 1)
|
||||
&& map->pagesneeded == 0) {
|
||||
&& map != &nobounce_dmamap && map->pagesneeded == 0) {
|
||||
vm_offset_t vendaddr;
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user