diff options
author | 2001-11-28 13:47:37 +0000 | |
---|---|---|
committer | 2001-11-28 13:47:37 +0000 | |
commit | 738a5b4da06e019a6663e50907eee782a84c1d2c (patch) | |
tree | a9528876cee85d24717d63972424ba0a09fc472e /sys/uvm/uvm_io.c | |
parent | typo in sockopt level name (ipsec6 related) (diff) | |
download | wireguard-openbsd-738a5b4da06e019a6663e50907eee782a84c1d2c.tar.xz wireguard-openbsd-738a5b4da06e019a6663e50907eee782a84c1d2c.zip |
Sync in more uvm changes from NetBSD.
This time we're getting rid of KERN_* and VM_PAGER_* error codes and
use errnos instead.
Diffstat (limited to 'sys/uvm/uvm_io.c')
-rw-r--r-- | sys/uvm/uvm_io.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/uvm/uvm_io.c b/sys/uvm/uvm_io.c index 5cb29a07715..cd64da0ac95 100644 --- a/sys/uvm/uvm_io.c +++ b/sys/uvm/uvm_io.c @@ -1,5 +1,5 @@ -/* $OpenBSD: uvm_io.c,v 1.10 2001/11/06 01:35:04 art Exp $ */ -/* $NetBSD: uvm_io.c,v 1.12 2000/06/27 17:29:23 mrg Exp $ */ +/* $OpenBSD: uvm_io.c,v 1.11 2001/11/28 13:47:39 art Exp $ */ +/* $NetBSD: uvm_io.c,v 1.13 2001/03/15 06:10:57 chs Exp $ */ /* * @@ -138,8 +138,7 @@ uvm_io(map, uio) */ vm_map_lock(kernel_map); - (void)uvm_unmap_remove(kernel_map, kva, kva+chunksz, - &dead_entries); + uvm_unmap_remove(kernel_map, kva, kva + chunksz, &dead_entries); vm_map_unlock(kernel_map); if (dead_entries != NULL) |