summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2007-01-02 09:04:53 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:00 +0200
commitacf46b3c5ea3e38a5c249da541b0c8c1f90a2701 (patch)
treeae135fa04cc1e92f34b6d62bbae37c549f4b9132
parent43d52b0c3fef5494616a52589ae48e0f402592d5 (diff)
2007-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
Fix loop indexing. * i386/intel/pmap.c (pmap_change_wiring): Increment pte in the unwiring loop.
-rw-r--r--ChangeLog6
-rw-r--r--i386/intel/pmap.c1
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f0fdc63..94ac3d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,11 @@
2007-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
+ Fix loop indexing.
+ * i386/intel/pmap.c (pmap_change_wiring): Increment pte in the
+ unwiring loop.
+
Drop old and broken support for Olivetti XP7 & XP9
- * i386/intel/pma.c [ORC] (OLIVETTICACHE): Remove macro.
+ * i386/intel/pmap.c [ORC] (OLIVETTICACHE): Remove macro.
[OLIVETTICACHE] (pstart): Remove declaration.
(CACHE_LINE, CACHE_SIZE, CACHE_PAGE, WRITE_PTE, WRITE_PTE_FAST): Remove
macros.
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index b0fd4ca..aa89aa5 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -1675,6 +1675,7 @@ void pmap_change_wiring(map, v, wired)
i = ptes_per_vm_page;
do {
*pte &= ~INTEL_PTE_WIRED;
+ pte++;
} while (--i > 0);
}