summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libkvm/kvm_amd64.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libkvm/kvm_amd64.c b/lib/libkvm/kvm_amd64.c
index 8c8fe0bfee4..7923092cef2 100644
--- a/lib/libkvm/kvm_amd64.c
+++ b/lib/libkvm/kvm_amd64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_amd64.c,v 1.6 2009/01/02 05:16:56 miod Exp $ */
+/* $OpenBSD: kvm_amd64.c,v 1.7 2009/03/30 21:16:14 kettenis Exp $ */
/* $NetBSD: kvm_x86_64.c,v 1.3 2002/06/05 22:01:55 fvdl Exp $ */
/*-
@@ -105,11 +105,6 @@ _kvm_kvatop(kvm_t *kd, u_long va, paddr_t *pa)
return (int)(NBPG - page_off);
}
- if (va >= PMAP_DIRECT_BASE_NC && va <= PMAP_DIRECT_END_NC) {
- *pa = va - PMAP_DIRECT_BASE_NC;
- return (int)(NBPG - page_off);
- }
-
cpu_kh = kd->cpu_data;
/*