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 Need to set pmap_needs_pte_sync before ca...
details: https://anonhg.NetBSD.org/src/rev/de647453e4f0
branches: trunk
changeset: 782122:de647453e4f0
user: matt <matt%NetBSD.org@localhost>
date: Wed Oct 17 18:29:10 2012 +0000
description:
Need to set pmap_needs_pte_sync before calling PTE_SYNC
diffstat:
sys/arch/arm/arm32/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r c6ba7e580ac3 -r de647453e4f0 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Wed Oct 17 18:12:59 2012 +0000
+++ b/sys/arch/arm/arm32/pmap.c Wed Oct 17 18:29:10 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.239 2012/10/17 16:16:23 matt Exp $ */
+/* $NetBSD: pmap.c,v 1.240 2012/10/17 18:29:10 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.239 2012/10/17 16:16:23 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.240 2012/10/17 18:29:10 matt Exp $");
#ifdef PMAP_DEBUG
@@ -4009,8 +4009,8 @@
*/
if (rv == 0 && pm->pm_l1->l1_domain_use_count == 1
&& pmap_needs_pte_sync == 0) {
+ pmap_needs_pte_sync = 1;
PTE_SYNC(ptep);
- pmap_needs_pte_sync = 1;
rv = 1;
}
Home |
Main Index |
Thread Index |
Old Index