Module Name: src
Committed By: skrll
Date: Fri Mar 27 08:14:04 UTC 2009
Modified Files:
src/sys/arch/hppa/hppa [nick-hppapmap]: pmap.c
Log Message:
Make pmap_hptdump compile.
To generate a diff of this commit:
cvs rdiff -u -r1.43.8.39 -r1.43.8.40 src/sys/arch/hppa/hppa/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/hppa/hppa/pmap.c
diff -u src/sys/arch/hppa/hppa/pmap.c:1.43.8.39 src/sys/arch/hppa/hppa/pmap.c:1.43.8.40
--- src/sys/arch/hppa/hppa/pmap.c:1.43.8.39 Sat Mar 21 10:48:29 2009
+++ src/sys/arch/hppa/hppa/pmap.c Fri Mar 27 08:14:04 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.43.8.39 2009/03/21 10:48:29 skrll Exp $ */
+/* $NetBSD: pmap.c,v 1.43.8.40 2009/03/27 08:14:04 skrll Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.43.8.39 2009/03/21 10:48:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.43.8.40 2009/03/27 08:14:04 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1881,7 +1881,7 @@
ehpt = (struct hpt_entry *)((int)hpt + pmap_hptsize);
db_printf("HPT dump %p-%p:\n", hpt, ehpt);
for (; hpt < ehpt; hpt++)
- if (hpt->hpt_valid || hpt->hpt_entry) {
+ if (hpt->hpt_valid) {
char buf[128];
snprintb(buf, sizeof(buf), TLB_BITS, hpt->hpt_tlbprot);