summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-02-12 01:10:53 +0000
committerimp <imp@FreeBSD.org>2009-02-12 01:10:53 +0000
commitdbee4bb75b300cad3592501bf3436c8f65e5609d (patch)
tree1f650df3c5021411ba271da10e1cb9eab6914a3d /sys/mips
parentc11da811854e545e53e8a7a525d429aa62bd1999 (diff)
downloadFreeBSD-src-dbee4bb75b300cad3592501bf3436c8f65e5609d.zip
FreeBSD-src-dbee4bb75b300cad3592501bf3436c8f65e5609d.tar.gz
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.
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/busdma_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/mips/mips/busdma_machdep.c b/sys/mips/mips/busdma_machdep.c
index e62cadc..e882f59 100644
--- a/sys/mips/mips/busdma_machdep.c
+++ b/sys/mips/mips/busdma_machdep.c
@@ -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;
}
}
OpenPOWER on IntegriCloud