summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-09-30 18:54:30 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-09-30 18:54:30 +0000
commitbddc9f385b7e9a42af93d54e2ec5be13ddc75894 (patch)
tree1c4cefbbd9596b7c7cb6e7436e02d4412f51131f /sys/arch/hppa
parentda05b7fa8d4acb3b6896cff99812d732f4a3d777 (diff)
Do not perform cache operations in vmapbuf(), pmap is supposed to do them
for us if needed. ok art@ kettenis@
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/vm_machdep.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/hppa/hppa/vm_machdep.c b/sys/arch/hppa/hppa/vm_machdep.c
index 78ab03bb2a3..ad8ce7fcd45 100644
--- a/sys/arch/hppa/hppa/vm_machdep.c
+++ b/sys/arch/hppa/hppa/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.63 2008/07/14 13:37:39 miod Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.64 2008/09/30 18:54:26 miod Exp $ */
/*
* Copyright (c) 1999-2004 Michael Shalayeff
@@ -218,13 +218,7 @@ vmapbuf(bp, len)
off = (vaddr_t)bp->b_data - uva;
size = round_page(off + len);
- /*
- * We do it on our own here to be able to specify an offset to uvm_map
- * so that we can get all benefits of PMAP_PREFER.
- * - art@
- */
kva = uvm_km_valloc_prefer_wait(phys_map, size, uva);
- fdcache(pm->pm_space, uva, size);
bp->b_data = (caddr_t)(kva + off);
while (size > 0) {
paddr_t pa;