svn commit: r247302 - stable/9/sys/ia64/ia64
Marcel Moolenaar
marcel at FreeBSD.org
Tue Feb 26 03:39:16 UTC 2013
Author: marcel
Date: Tue Feb 26 03:39:15 2013
New Revision: 247302
URL: http://svnweb.freebsd.org/changeset/base/247302
Log:
MFC r239379:
Use pmap_kextract(x) rather than pmap_extract(kernel_pmap, x).
Modified:
stable/9/sys/ia64/ia64/mem.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/ia64/ia64/mem.c
==============================================================================
--- stable/9/sys/ia64/ia64/mem.c Tue Feb 26 03:24:45 2013 (r247301)
+++ stable/9/sys/ia64/ia64/mem.c Tue Feb 26 03:39:15 2013 (r247302)
@@ -129,7 +129,7 @@ kmemphys:
addr = trunc_page(v);
eaddr = round_page(v + c);
for (; addr < eaddr; addr += PAGE_SIZE) {
- if (pmap_extract(kernel_pmap, addr) == 0)
+ if (pmap_kextract(addr) == 0)
return (EFAULT);
}
if (!kernacc((caddr_t)v, c, (uio->uio_rw == UIO_READ)
More information about the svn-src-stable-9
mailing list