Fix another mistake in the bus_dmamem_alloc_size() thing
Submitted by: tmm
This commit is contained in:
parent
89099a65fb
commit
98eed43c20
@ -1093,7 +1093,7 @@ sparc64_dmamem_alloc_size(bus_dma_tag_t pt, bus_dma_tag_t dt, void **v, int f,
|
||||
{
|
||||
bus_dma_tag_t lt;
|
||||
|
||||
for (lt = pt; lt->dt_dmamem_alloc == NULL; lt = lt->dt_parent)
|
||||
for (lt = pt; lt->dt_dmamem_alloc_size == NULL; lt = lt->dt_parent)
|
||||
;
|
||||
return ((*lt->dt_dmamem_alloc_size)(lt, dt, v, f, m, s));
|
||||
}
|
||||
@ -1119,7 +1119,7 @@ sparc64_dmamem_free_size(bus_dma_tag_t pt, bus_dma_tag_t dt, void *v,
|
||||
{
|
||||
bus_dma_tag_t lt;
|
||||
|
||||
for (lt = pt; lt->dt_dmamem_free == NULL; lt = lt->dt_parent)
|
||||
for (lt = pt; lt->dt_dmamem_free_size == NULL; lt = lt->dt_parent)
|
||||
;
|
||||
(*lt->dt_dmamem_free_size)(lt, dt, v, m, s);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user