summaryrefslogtreecommitdiff
path: root/sys/compat/osf1/osf1_mmap.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/compat/osf1/osf1_mmap.c
parent0cf5ca3327d0f3f051ffeeedbbf725cdb3b5b201 (diff)
Add an alignment argument to uvm_map that specifies an alignment hint
for the virtual address.
Diffstat (limited to 'sys/compat/osf1/osf1_mmap.c')
-rw-r--r--sys/compat/osf1/osf1_mmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/osf1/osf1_mmap.c b/sys/compat/osf1/osf1_mmap.c
index 7592ed1e0df..c42ff6eaf4a 100644
--- a/sys/compat/osf1/osf1_mmap.c
+++ b/sys/compat/osf1/osf1_mmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: osf1_mmap.c,v 1.4 2001/11/06 19:53:17 miod Exp $ */
+/* $OpenBSD: osf1_mmap.c,v 1.5 2001/11/07 01:18:00 art Exp $ */
/* $NetBSD: osf1_mmap.c,v 1.5 2000/04/11 05:26:27 chs Exp $ */
/*
@@ -183,14 +183,14 @@ osf1_sys_mmap(p, v, retval)
/* if non-NULL address given, start looking there */
/* XXX - UVM */
if (addr != 0 && uvm_map_findspace(&p->p_vmspace->vm_map,
- addr, size, &addr, NULL, 0, 0) != NULL) {
+ addr, size, &addr, NULL, 0, 0, 0) != NULL) {
fixed = 1;
goto done;
}
/* didn't find anything. take it again from the top. */
if (uvm_map_findspace(&p->p_vmspace->vm_map, NBPG, size, &addr,
- NULL, 0, 0) != NULL) {
+ NULL, 0, 0, 0) != NULL) {
fixed = 1;
goto done;
}