summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_km.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/uvm/uvm_km.c')
-rw-r--r--sys/uvm/uvm_km.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/uvm/uvm_km.c b/sys/uvm/uvm_km.c
index ea15e5ee8fa..b864d6411fd 100644
--- a/sys/uvm/uvm_km.c
+++ b/sys/uvm/uvm_km.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_km.c,v 1.52 2006/07/31 11:51:29 mickey Exp $ */
+/* $OpenBSD: uvm_km.c,v 1.53 2006/11/29 12:17:33 miod Exp $ */
/* $NetBSD: uvm_km.c,v 1.42 2001/01/14 02:10:01 thorpej Exp $ */
/*
@@ -619,10 +619,7 @@ uvm_km_free_wakeup(map, addr, size)
*/
vaddr_t
-uvm_km_alloc1(map, size, zeroit)
- vm_map_t map;
- vsize_t size;
- boolean_t zeroit;
+uvm_km_alloc1(struct vm_map *map, vsize_t size, vsize_t align, boolean_t zeroit)
{
vaddr_t kva, loopva, offset;
struct vm_page *pg;
@@ -639,7 +636,7 @@ uvm_km_alloc1(map, size, zeroit)
*/
if (__predict_false(uvm_map(map, &kva, size, uvm.kernel_object,
- UVM_UNKNOWN_OFFSET, 0, UVM_MAPFLAG(UVM_PROT_ALL, UVM_PROT_ALL,
+ UVM_UNKNOWN_OFFSET, align, UVM_MAPFLAG(UVM_PROT_ALL, UVM_PROT_ALL,
UVM_INH_NONE, UVM_ADV_RANDOM,
0)) != KERN_SUCCESS)) {
UVMHIST_LOG(maphist,"<- done (no VM)",0,0,0,0);