Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/arch/arm/arm32 Fix \!DIAGNOSTIC build.
details: https://anonhg.NetBSD.org/src/rev/740ef2074ba2
branches: uebayasi-xip
changeset: 751581:740ef2074ba2
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Sat Feb 20 16:48:57 2010 +0000
description:
Fix \!DIAGNOSTIC build.
diffstat:
sys/arch/arm/arm32/pmap.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 3deea1e76a4d -r 740ef2074ba2 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Wed Feb 17 22:04:15 2010 +0000
+++ b/sys/arch/arm/arm32/pmap.c Sat Feb 20 16:48:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.211.2.7 2010/02/10 15:48:28 uebayasi Exp $ */
+/* $NetBSD: pmap.c,v 1.211.2.8 2010/02/20 16:48:57 uebayasi Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -211,7 +211,7 @@
#include <machine/param.h>
#include <arm/arm32/katelib.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.211.2.7 2010/02/10 15:48:28 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.211.2.8 2010/02/20 16:48:57 uebayasi Exp $");
#ifdef PMAP_DEBUG
@@ -4794,7 +4794,9 @@
return (1);
pa = VM_PAGE_TO_PHYS(pg);
#ifdef PMAP_CACHE_VIPT
+#ifdef DIAGNOSTIC
struct vm_page_md *md = VM_PAGE_TO_MD(pg);
+#endif
/*
* This new page must not have any mappings. Enter it via
* pmap_kenter_pa and let that routine do the hard work.
Home |
Main Index |
Thread Index |
Old Index