Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 restore deleted conditional



details:   https://anonhg.NetBSD.org/src/rev/16a7c38ff949
branches:  trunk
changeset: 787790:16a7c38ff949
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jul 03 15:30:24 2013 +0000

description:
restore deleted conditional

diffstat:

 sys/arch/arm/arm32/pmap.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r ce18074ff480 -r 16a7c38ff949 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Wed Jul 03 15:26:42 2013 +0000
+++ b/sys/arch/arm/arm32/pmap.c Wed Jul 03 15:30:24 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.260 2013/07/03 15:26:42 matt Exp $  */
+/*     $NetBSD: pmap.c,v 1.261 2013/07/03 15:30:24 matt Exp $  */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -212,7 +212,7 @@
 #include <arm/cpuconf.h>
 #include <arm/arm32/katelib.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.260 2013/07/03 15:26:42 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.261 2013/07/03 15:30:24 matt Exp $");
 
 #ifdef PMAP_DEBUG
 
@@ -3177,7 +3177,9 @@
                                pv = pmap_remove_pv(md, pa, pm, sva);
                                pmap_vac_me_harder(md, pa, pm, 0);
                                if (pv != NULL) {
-                                       flags = pv->pv_flags;
+                                       if (pm->pm_remove_all == false) {
+                                               flags = pv->pv_flags;
+                                       }
                                        pool_put(&pmap_pv_pool, pv);
                                }
                        }



Home | Main Index | Thread Index | Old Index