summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}