Date: Tue, 14 Aug 2018 15:27:50 +0000 (UTC) From: Luiz Otavio O Souza <loos@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r337759 - head/sys/arm64/arm64 Message-ID: <201808141527.w7EFRo5V051161@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: loos Date: Tue Aug 14 15:27:50 2018 New Revision: 337759 URL: https://svnweb.freebsd.org/changeset/base/337759 Log: Use the correct PTE when changing the attribute of multiple pages. Submitted by: andrew (long time ago) Sponsored by: Rubicon Communications, LLC (Netgate) Modified: head/sys/arm64/arm64/pmap.c Modified: head/sys/arm64/arm64/pmap.c ============================================================================== --- head/sys/arm64/arm64/pmap.c Tue Aug 14 14:50:06 2018 (r337758) +++ head/sys/arm64/arm64/pmap.c Tue Aug 14 15:27:50 2018 (r337759) @@ -4813,7 +4813,7 @@ pmap_change_attr_locked(vm_offset_t va, vm_size_t size return (EINVAL); for (tmpva = base; tmpva < base + size; ) { - pte = pmap_pte(kernel_pmap, va, &lvl); + pte = pmap_pte(kernel_pmap, tmpva, &lvl); if (pte == NULL) return (EINVAL);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808141527.w7EFRo5V051161>