pmap_kenrel() was recently deleted from pmap.h. It was still used
here, but inconsistently. Change all instances of it to kernel_pmap to match rest of code.
This commit is contained in:
parent
9f5967652f
commit
6bf6f10d24
@ -647,7 +647,7 @@ bus_dmamap_load_mbuf(bus_dma_tag_t dmat, bus_dmamap_t map, struct mbuf *m0,
|
||||
if (m->m_len > 0) {
|
||||
error = bus_dmamap_load_buffer(dmat,
|
||||
dm_segments, map, m->m_data, m->m_len,
|
||||
pmap_kernel(), flags, &lastaddr, &nsegs);
|
||||
kernel_pmap, flags, &lastaddr, &nsegs);
|
||||
map->len += m->m_len;
|
||||
}
|
||||
}
|
||||
@ -694,7 +694,7 @@ bus_dmamap_load_mbuf_sg(bus_dma_tag_t dmat, bus_dmamap_t map,
|
||||
if (m->m_len > 0) {
|
||||
error = bus_dmamap_load_buffer(dmat, segs, map,
|
||||
m->m_data, m->m_len,
|
||||
pmap_kernel(), flags, &lastaddr, nsegs);
|
||||
kernel_pmap, flags, &lastaddr, nsegs);
|
||||
map->len += m->m_len;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user