Date: Thu, 12 Feb 2009 01:10:53 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r188506 - head/sys/mips/mips Message-ID: <200902120110.n1C1ArBK040993@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Thu Feb 12 01:10:53 2009 New Revision: 188506 URL: http://svn.freebsd.org/changeset/base/188506 Log: 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. Modified: head/sys/mips/mips/busdma_machdep.c Modified: head/sys/mips/mips/busdma_machdep.c ============================================================================== --- head/sys/mips/mips/busdma_machdep.c Wed Feb 11 22:34:50 2009 (r188505) +++ head/sys/mips/mips/busdma_machdep.c Thu Feb 12 01:10:53 2009 (r188506) @@ -647,7 +647,7 @@ bus_dmamap_load_mbuf(bus_dma_tag_t dmat, 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 dm 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; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902120110.n1C1ArBK040993>