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 Remove an #ifdef PMAP_CACHE_VIVT that's i...



details:   https://anonhg.NetBSD.org/src/rev/7c4a3f8d6e46
branches:  trunk
changeset: 356108:7c4a3f8d6e46
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Sep 02 11:52:30 2017 +0000

description:
Remove an #ifdef PMAP_CACHE_VIVT that's inside #ifdef PMAP_CACHE_VIVT
already

diffstat:

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

diffs (29 lines):

diff -r 899ef19aaa43 -r 7c4a3f8d6e46 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Sat Sep 02 06:48:10 2017 +0000
+++ b/sys/arch/arm/arm32/pmap.c Sat Sep 02 11:52:30 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.353 2017/08/24 14:19:36 jmcneill Exp $      */
+/*     $NetBSD: pmap.c,v 1.354 2017/09/02 11:52:30 skrll Exp $ */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -217,7 +217,7 @@
 
 #include <arm/locore.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.353 2017/08/24 14:19:36 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.354 2017/09/02 11:52:30 skrll Exp $");
 
 //#define PMAP_DEBUG
 #ifdef PMAP_DEBUG
@@ -1971,10 +1971,8 @@
 
                        if ((va != pv->pv_va || pm != pv->pv_pmap)
                            && l2pte_valid_p(opte)) {
-#ifdef PMAP_CACHE_VIVT
                                pmap_cache_wbinv_page(pv->pv_pmap, pv->pv_va,
                                    true, pv->pv_flags);
-#endif
                                pmap_tlb_flush_SE(pv->pv_pmap, pv->pv_va,
                                    pv->pv_flags);
                        }



Home | Main Index | Thread Index | Old Index