diff options
author | 2015-02-10 21:56:08 +0000 | |
---|---|---|
committer | 2015-02-10 21:56:08 +0000 | |
commit | 081bf72016fd7473d333d95c915b1e43ca17cbc2 (patch) | |
tree | b73603c37a30960dcf8c02fec717a11e3621e769 /sys/uvm/uvm_io.c | |
parent | In iwm(4), don't reinvent the standard rate set tables. (diff) | |
download | wireguard-openbsd-081bf72016fd7473d333d95c915b1e43ca17cbc2.tar.xz wireguard-openbsd-081bf72016fd7473d333d95c915b1e43ca17cbc2.zip |
First step towards making uiomove() take a size_t size argument:
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
- rewrite uiomovei() as an uiomove() wrapper.
ok kettenis@
Diffstat (limited to 'sys/uvm/uvm_io.c')
-rw-r--r-- | sys/uvm/uvm_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_io.c b/sys/uvm/uvm_io.c index 1a64b547b90..b93a04ff211 100644 --- a/sys/uvm/uvm_io.c +++ b/sys/uvm/uvm_io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_io.c,v 1.23 2014/09/14 14:17:27 jsg Exp $ */ +/* $OpenBSD: uvm_io.c,v 1.24 2015/02/10 21:56:10 miod Exp $ */ /* $NetBSD: uvm_io.c,v 1.12 2000/06/27 17:29:23 mrg Exp $ */ /* @@ -110,7 +110,7 @@ uvm_io(vm_map_t map, struct uio *uio, int flags) sz = chunksz - pageoffset; if (sz > togo) sz = togo; - error = uiomove((caddr_t) (kva + pageoffset), sz, uio); + error = uiomovei((caddr_t) (kva + pageoffset), sz, uio); togo -= sz; baseva += chunksz; |