summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_unix.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-11-07 01:18:00 +0000
committerart <art@openbsd.org>2001-11-07 01:18:00 +0000
commit198a4b3fd67e8a9ebc1a2c6294f1b43dc90983fa (patch)
tree7681ba0b4fd9541da1bee828dcb634193de472f0 /sys/uvm/uvm_unix.c
parentunbreak child_return. (diff)
downloadwireguard-openbsd-198a4b3fd67e8a9ebc1a2c6294f1b43dc90983fa.tar.xz
wireguard-openbsd-198a4b3fd67e8a9ebc1a2c6294f1b43dc90983fa.zip
Add an alignment argument to uvm_map that specifies an alignment hint
for the virtual address.
Diffstat (limited to 'sys/uvm/uvm_unix.c')
-rw-r--r--sys/uvm/uvm_unix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_unix.c b/sys/uvm/uvm_unix.c
index 1cccce72d29..294b28b0c98 100644
--- a/sys/uvm/uvm_unix.c
+++ b/sys/uvm/uvm_unix.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: uvm_unix.c,v 1.15 2001/11/06 13:36:52 art Exp $ */
-/* $NetBSD: uvm_unix.c,v 1.17 2000/09/07 05:01:43 chs Exp $ */
+/* $OpenBSD: uvm_unix.c,v 1.16 2001/11/07 01:18:01 art Exp $ */
+/* $NetBSD: uvm_unix.c,v 1.18 2000/09/13 15:00:25 thorpej Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -96,7 +96,7 @@ sys_obreak(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));
if (rv == KERN_SUCCESS) {