Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm32/arm32 Fix a possible glitch (not mine) in the...



details:   https://anonhg.NetBSD.org/src/rev/fdf11ddc5378
branches:  trunk
changeset: 467706:fdf11ddc5378
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sat Mar 27 14:13:42 1999 +0000

description:
Fix a possible glitch (not mine) in the wired page accounting.

diffstat:

 sys/arch/arm32/arm32/pmap.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 56642441b7b5 -r fdf11ddc5378 sys/arch/arm32/arm32/pmap.c
--- a/sys/arch/arm32/arm32/pmap.c       Sat Mar 27 14:07:08 1999 +0000
+++ b/sys/arch/arm32/arm32/pmap.c       Sat Mar 27 14:13:42 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.53 1999/03/27 11:45:07 mycroft Exp $        */
+/*     $NetBSD: pmap.c,v 1.54 1999/03/27 14:13:42 mycroft Exp $        */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -472,8 +472,10 @@
                        *pv = *npv;
                        flags = npv->pv_flags;
                        pmap_free_pv(npv);
-               } else
+               } else {
+                       flags = pv->pv_flags;
                        pv->pv_pmap = NULL;
+               }
        } else {
                for (npv = pv->pv_next; npv; pv = npv, npv = npv->pv_next) {
                        if (pmap == npv->pv_pmap && va == npv->pv_va)



Home | Main Index | Thread Index | Old Index