diff options
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/osf1/osf1_mmap.c | 6 | ||||
-rw-r--r-- | sys/compat/svr4/svr4_misc.c | 4 |
2 files changed, 5 insertions, 5 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; } diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c index 9de5cf0e3ce..b47cae762f5 100644 --- a/sys/compat/svr4/svr4_misc.c +++ b/sys/compat/svr4/svr4_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_misc.c,v 1.36 2001/11/06 19:53:18 miod Exp $ */ +/* $OpenBSD: svr4_misc.c,v 1.37 2001/11/07 01:18:01 art Exp $ */ /* $NetBSD: svr4_misc.c,v 1.42 1996/12/06 03:22:34 christos Exp $ */ /* @@ -675,7 +675,7 @@ svr4_sys_break(p, v, retval) if (diff > 0) { rv = uvm_map(&vm->vm_map, &old, diff, NULL, UVM_UNKNOWN_OFFSET, - UVM_MAPFLAG(UVM_PROT_ALL, UVM_PROT_ALL, UVM_INH_COPY, + 0, UVM_MAPFLAG(UVM_PROT_ALL, UVM_PROT_ALL, UVM_INH_COPY, UVM_ADV_NORMAL, UVM_FLAG_AMAPPAD|UVM_FLAG_FIXED| UVM_FLAG_OVERLAY|UVM_FLAG_COPYONW)); |