Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Fix a MIPS3 dependent KASSERT.
details: https://anonhg.NetBSD.org/src/rev/d0623b18d973
branches: trunk
changeset: 764831:d0623b18d973
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat May 07 14:37:46 2011 +0000
description:
Fix a MIPS3 dependent KASSERT.
diffstat:
sys/arch/mips/mips/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4742cad0af7e -r d0623b18d973 sys/arch/mips/mips/pmap.c
--- a/sys/arch/mips/mips/pmap.c Sat May 07 11:12:48 2011 +0000
+++ b/sys/arch/mips/mips/pmap.c Sat May 07 14:37:46 2011 +0000
@@ -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?
*/
Home |
Main Index |
Thread Index |
Old Index