diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-30 21:16:15 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-30 21:16:15 +0000 |
commit | 090c40aae9e8b096aa25ba11f0a05b4c001af3a2 (patch) | |
tree | 4bb57ec8114cd28571615c1b46b68a8abe0bac71 /lib/libkvm | |
parent | 2d9c3bcff779768708ac4908c5d161ef9b8b663a (diff) |
Mop up after oga@ and unbreak the tree. The direct uncached map is gone so
remove the code from libkvm that dealt with it.
Diffstat (limited to 'lib/libkvm')
-rw-r--r-- | lib/libkvm/kvm_amd64.c | 7 |
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; /* |