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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to