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 Use PDE_SYNC when syncing pdeps



details:   https://anonhg.NetBSD.org/src/rev/9b3e621c4fed
branches:  trunk
changeset: 338184:9b3e621c4fed
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed May 13 15:33:47 2015 +0000

description:
Use PDE_SYNC when syncing pdeps

diffstat:

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

diffs (45 lines):

diff -r 1335daf6d466 -r 9b3e621c4fed sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Wed May 13 12:21:04 2015 +0000
+++ b/sys/arch/arm/arm32/pmap.c Wed May 13 15:33:47 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.321 2015/05/11 22:28:22 matt Exp $  */
+/*     $NetBSD: pmap.c,v 1.322 2015/05/13 15:33:47 skrll Exp $ */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -216,7 +216,7 @@
 
 #include <arm/locore.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.321 2015/05/11 22:28:22 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.322 2015/05/13 15:33:47 skrll Exp $");
 
 //#define PMAP_DEBUG
 #ifdef PMAP_DEBUG
@@ -1569,7 +1569,7 @@
                    | L1_C_DOM(pmap_domain(pm));
                KASSERT(*pdep == 0);
                l1pte_setone(pdep, npde);
-               PTE_SYNC(pdep);
+               PDE_SYNC(pdep);
 #endif
        }
 
@@ -3359,7 +3359,7 @@
                                    | L1_C_DOM(pmap_domain(pm));
                                if (*pdep != pde) {
                                        l1pte_setone(pdep, pde);
-                                       PTE_SYNC(pdep);
+                                       PDE_SYNC(pdep);
                                }
                        }
                }
@@ -4546,7 +4546,7 @@
        pd_entry_t pde = L1_C_PROTO | l2b->l2b_pa | L1_C_DOM(pmap_domain(pm));
        if (*pdep != pde) {
                l1pte_setone(pdep, pde);
-               PTE_SYNC(pdep);
+               PDE_SYNC(pdep);
                rv = 1;
                PMAPCOUNT(fixup_pdes);
        }



Home | Main Index | Thread Index | Old Index