summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_page.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-07 01:18:02 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-07 01:18:02 +0000
commitc1c5c105f41ad5a43d2d86df94c7b57a4e86d03f (patch)
treef35ef0cfc30ec497901dac2701302652e736c1f4 /sys/uvm/uvm_page.c
parent0cf5ca3327d0f3f051ffeeedbbf725cdb3b5b201 (diff)
Add an alignment argument to uvm_map that specifies an alignment hint
for the virtual address.
Diffstat (limited to 'sys/uvm/uvm_page.c')
-rw-r--r--sys/uvm/uvm_page.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_page.c b/sys/uvm/uvm_page.c
index 1c2e7157baf..bc80f041f57 100644
--- a/sys/uvm/uvm_page.c
+++ b/sys/uvm/uvm_page.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_page.c,v 1.27 2001/11/06 13:36:52 art Exp $ */
+/* $OpenBSD: uvm_page.c,v 1.28 2001/11/07 01:18:01 art Exp $ */
/* $NetBSD: uvm_page.c,v 1.40 2000/08/02 20:25:11 thorpej Exp $ */
/*
@@ -1070,7 +1070,7 @@ uvm_pagealloc_contig(size, low, high, alignment)
&pglist, 1, FALSE))
return 0;
addr = vm_map_min(kernel_map);
- if (uvm_map(kernel_map, &addr, size, NULL, UVM_UNKNOWN_OFFSET,
+ if (uvm_map(kernel_map, &addr, size, NULL, UVM_UNKNOWN_OFFSET, 0,
UVM_MAPFLAG(UVM_PROT_ALL, UVM_PROT_ALL, UVM_INH_NONE,
UVM_ADV_RANDOM, 0)) != KERN_SUCCESS) {
uvm_pglistfree(&pglist);