Fix another mistake in the bus_dmamem_alloc_size() thing
Submitted by: tmm
This commit is contained in:
parent
5a67919a5e
commit
288a05f9ee
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110053
@ -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;
|
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));
|
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;
|
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);
|
(*lt->dt_dmamem_free_size)(lt, dt, v, m, s);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user