summaryrefslogtreecommitdiff
path: root/i386
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 /i386
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.
Diffstat (limited to 'i386')
-rw-r--r--i386/intel/pmap.c1
1 files changed, 1 insertions, 0 deletions
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);
}