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 Fix non-DIAGNOSTIC build



details:   https://anonhg.NetBSD.org/src/rev/de946b98a767
branches:  trunk
changeset: 328403:de946b98a767
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Apr 02 15:35:14 2014 +0000

description:
Fix non-DIAGNOSTIC build

diffstat:

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

diffs (27 lines):

diff -r 50e5cef3d146 -r de946b98a767 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Wed Apr 02 15:04:19 2014 +0000
+++ b/sys/arch/arm/arm32/pmap.c Wed Apr 02 15:35:14 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.278 2014/04/02 14:05:54 matt Exp $  */
+/*     $NetBSD: pmap.c,v 1.279 2014/04/02 15:35:14 skrll Exp $ */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -216,7 +216,7 @@
 #include <arm/locore.h>
 //#include <arm/arm32/katelib.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.278 2014/04/02 14:05:54 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.279 2014/04/02 15:35:14 skrll Exp $");
 
 //#define PMAP_DEBUG
 #ifdef PMAP_DEBUG
@@ -3667,7 +3667,7 @@
                PMAPCOUNT(kenter_remappings);
 #ifdef PMAP_CACHE_VIPT
                opg = PHYS_TO_VM_PAGE(l2pte_pa(opte));
-#ifdef DIAGNOSTIC
+#if !defined(ARM_MMU_EXTENDED) || defined(DIAGNOSTIC)
                struct vm_page_md *omd = VM_PAGE_TO_MD(opg);
 #endif
                if (opg && arm_cache_prefer_mask != 0) {



Home | Main Index | Thread Index | Old Index