summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_io.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-28 19:28:16 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-28 19:28:16 +0000
commitcba71608cdd2f0b18c4f6ff86897f18e4c30118a (patch)
treeb92e865b4ac88831d7b112a580bfcf3af96d5ed8 /sys/uvm/uvm_io.c
parente6a242c5ac01267b1b262ca9daa51b8ef92c97e2 (diff)
Sync in more uvm from NetBSD. Mostly just cosmetic stuff.
Contains also support for page coloring.
Diffstat (limited to 'sys/uvm/uvm_io.c')
-rw-r--r--sys/uvm/uvm_io.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/uvm/uvm_io.c b/sys/uvm/uvm_io.c
index cd64da0ac95..100e82cfe3b 100644
--- a/sys/uvm/uvm_io.c
+++ b/sys/uvm/uvm_io.c
@@ -1,5 +1,5 @@
-/* $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 $ */
+/* $OpenBSD: uvm_io.c,v 1.12 2001/11/28 19:28:14 art Exp $ */
+/* $NetBSD: uvm_io.c,v 1.15 2001/06/02 18:09:26 chs Exp $ */
/*
*
@@ -61,12 +61,12 @@
int
uvm_io(map, uio)
- vm_map_t map;
+ struct vm_map *map;
struct uio *uio;
{
vaddr_t baseva, endva, pageoffset, kva;
vsize_t chunksz, togo, sz;
- vm_map_entry_t dead_entries;
+ struct vm_map_entry *dead_entries;
int error;
/*
@@ -106,7 +106,7 @@ uvm_io(map, uio)
*/
error = uvm_map_extract(map, baseva, chunksz, kernel_map, &kva,
- UVM_EXTRACT_QREF | UVM_EXTRACT_CONTIG |
+ UVM_EXTRACT_QREF | UVM_EXTRACT_CONTIG |
UVM_EXTRACT_FIXPROT);
if (error) {