svn commit: r304620 - head/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Mon Aug 22 18:12:45 UTC 2016
Author: andrew
Date: Mon Aug 22 18:12:44 2016
New Revision: 304620
URL: https://svnweb.freebsd.org/changeset/base/304620
Log:
Fix pmap_update_entry, pmap_invalidate_range takes the end address, not
the size.
Obtained from: ABT Systems Ltd
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/arm64/arm64/pmap.c
Modified: head/sys/arm64/arm64/pmap.c
==============================================================================
--- head/sys/arm64/arm64/pmap.c Mon Aug 22 18:12:24 2016 (r304619)
+++ head/sys/arm64/arm64/pmap.c Mon Aug 22 18:12:44 2016 (r304620)
@@ -2290,7 +2290,7 @@ pmap_update_entry(pmap_t pmap, pd_entry_
/* Clear the old mapping */
pmap_load_clear(pte);
PTE_SYNC(pte);
- pmap_invalidate_range(pmap, va, size);
+ pmap_invalidate_range(pmap, va, va + size);
/* Create the new mapping */
pmap_load_store(pte, newpte);
More information about the svn-src-head
mailing list