Module Name: src
Committed By: tsutsui
Date: Sat May 7 14:37:46 UTC 2011
Modified Files:
src/sys/arch/mips/mips: pmap.c
Log Message:
Fix a MIPS3 dependent KASSERT.
To generate a diff of this commit:
cvs rdiff -u -r1.200 -r1.201 src/sys/arch/mips/mips/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/mips/pmap.c
diff -u src/sys/arch/mips/mips/pmap.c:1.200 src/sys/arch/mips/mips/pmap.c:1.201
--- src/sys/arch/mips/mips/pmap.c:1.200 Mon May 2 15:31:01 2011
+++ src/sys/arch/mips/mips/pmap.c Sat May 7 14:37:46 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.200 2011/05/02 15:31:01 tsutsui Exp $ */
+/* $NetBSD: pmap.c,v 1.201 2011/05/07 14:37:46 tsutsui Exp $ */
/*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.200 2011/05/02 15:31:01 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.201 2011/05/07 14:37:46 tsutsui Exp $");
/*
* Manages physical address maps.
@@ -2015,7 +2015,7 @@
if (pte->pt_entry == pt_entry) {
continue;
}
- KASSERT(pt_entry & MIPS3_PG_V);
+ KASSERT(mips_pg_v(pt_entry));
/*
* Why? Why?
*/