summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-07-14 14:00:02 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-07-14 14:00:02 +0000
commita8ecea4e8b9e95881ca47660e4e7c35dc7694f0a (patch)
tree1b369fb515b96b84d5ba699f241a583f902b8891 /sys/arch/sparc64
parentcd7a54bdc64379e9ef2a8f86baad95eef11b50f7 (diff)
Use uvm_km_valloc_prefer_wait() instead of uvm_km_valloc_wait() in vmapbuf().
ok art@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/vm_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/vm_machdep.c b/sys/arch/sparc64/sparc64/vm_machdep.c
index 4e940cd1bde..bac9a8a6816 100644
--- a/sys/arch/sparc64/sparc64/vm_machdep.c
+++ b/sys/arch/sparc64/sparc64/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.24 2008/03/15 22:05:51 kettenis Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.25 2008/07/14 14:00:01 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.38 2001/06/30 00:02:20 eeh Exp $ */
/*
@@ -96,7 +96,7 @@ vmapbuf(bp, len)
uva = trunc_page((vaddr_t)bp->b_data);
off = (vaddr_t)bp->b_data - uva;
len = round_page(off + len);
- kva = uvm_km_valloc_wait(kernel_map, len);
+ kva = uvm_km_valloc_prefer_wait(kernel_map, len, uva);
bp->b_data = (caddr_t)(kva + off);
/*