Date: Tue, 26 Feb 2013 03:39:16 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r247302 - stable/9/sys/ia64/ia64 Message-ID: <201302260339.r1Q3dG6c043254@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302260339.r1Q3dG6c043254>