Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Fix DIAGNOSTIC build. Pointed out ...
details: https://anonhg.NetBSD.org/src/rev/7efd9452344c
branches: trunk
changeset: 758321:7efd9452344c
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Tue Nov 02 12:21:07 2010 +0000
description:
Fix DIAGNOSTIC build. Pointed out by Juergen Hannken-Illjes.
diffstat:
sys/arch/sparc64/sparc64/pmap.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 1e26eb63c942 -r 7efd9452344c sys/arch/sparc64/sparc64/pmap.c
--- a/sys/arch/sparc64/sparc64/pmap.c Tue Nov 02 12:10:13 2010 +0000
+++ b/sys/arch/sparc64/sparc64/pmap.c Tue Nov 02 12:21:07 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.266 2010/10/30 18:30:55 uebayasi Exp $ */
+/* $NetBSD: pmap.c,v 1.267 2010/11/02 12:21:07 uebayasi Exp $ */
/*
*
* Copyright (C) 1996-1999 Eduardo Horvath.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.266 2010/10/30 18:30:55 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.267 2010/11/02 12:21:07 uebayasi Exp $");
#undef NO_VCACHE /* Don't forget the locked TLB in dostart */
#define HWREF
@@ -1446,6 +1446,8 @@
/* we could be a little smarter and leave pages zeroed */
for (pg = TAILQ_FIRST(&pm->pm_obj.memq); pg != NULL; pg = nextpg) {
+ struct vm_page_md *md = VM_PAGE_TO_MD(pg);
+
KASSERT((pg->flags & PG_MARKER) == 0);
nextpg = TAILQ_NEXT(pg, listq.queue);
TAILQ_REMOVE(&pm->pm_obj.memq, pg, listq.queue);
Home |
Main Index |
Thread Index |
Old Index