From acf46b3c5ea3e38a5c249da541b0c8c1f90a2701 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 2 Jan 2007 09:04:53 +0000 Subject: 2007-01-02 Samuel Thibault Fix loop indexing. * i386/intel/pmap.c (pmap_change_wiring): Increment pte in the unwiring loop. --- ChangeLog | 6 +++++- i386/intel/pmap.c | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f0fdc63..94ac3d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,11 @@ 2007-01-02 Samuel Thibault + 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); } -- cgit v1.2.3