summaryrefslogtreecommitdiff
path: root/lib/libkvm
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-10-18 04:32:10 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-10-18 04:32:10 +0000
commitf54bdffaafbd65e3f9f7fd592c56dd2923f435e3 (patch)
treecf8d62f7bee37e321dac4124b998b27cf55d735a /lib/libkvm
parent15af23b31c06cdf896b27a5291cbe8ddba0a9398 (diff)
Get rid of the silly union for mips pte. No functional change except
pmap.h now includes pte.h.
Diffstat (limited to 'lib/libkvm')
-rw-r--r--lib/libkvm/kvm_mips64.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libkvm/kvm_mips64.c b/lib/libkvm/kvm_mips64.c
index b0a59886495..4e6b52063a2 100644
--- a/lib/libkvm/kvm_mips64.c
+++ b/lib/libkvm/kvm_mips64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_mips64.c,v 1.6 2007/05/03 19:33:58 miod Exp $ */
+/* $OpenBSD: kvm_mips64.c,v 1.7 2007/10/18 04:32:05 miod Exp $ */
/* $NetBSD: kvm_mips.c,v 1.3 1996/03/18 22:33:44 thorpej Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)kvm_mips.c 8.1 (Berkeley) 6/4/93";
#else
-static char *rcsid = "$OpenBSD: kvm_mips64.c,v 1.6 2007/05/03 19:33:58 miod Exp $";
+static char *rcsid = "$OpenBSD: kvm_mips64.c,v 1.7 2007/10/18 04:32:05 miod Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -117,7 +117,8 @@ int
_kvm_kvatop(kvm_t *kd, u_long va, paddr_t *pa)
{
struct vmstate *vm;
- u_long pte, idx, addr, offset;
+ pt_entry_t pte;
+ u_long idx, addr, offset;
if (ISALIVE(kd)) {
_kvm_err(kd, 0, "vatop called in live kernel!");