diff options
author | truckman <truckman@FreeBSD.org> | 2004-03-15 06:42:40 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2004-03-15 06:42:40 +0000 |
commit | b7a6af3cc97ed702243c417b87a32b192556f1ca (patch) | |
tree | 85b5951c4e6b33e8155f7f84f90e482148583b0a /sys/vm/vm_extern.h | |
parent | 4a8aedf7cf357ba29a6e8a503b49e0fa4aaa14ea (diff) | |
download | FreeBSD-src-b7a6af3cc97ed702243c417b87a32b192556f1ca.zip FreeBSD-src-b7a6af3cc97ed702243c417b87a32b192556f1ca.tar.gz |
Revert to the original vslock() and vsunlock() API with the following
exceptions:
Retain the recently added vslock() error return.
The type of the len argument should be size_t, not u_int.
Suggested by: bde
Diffstat (limited to 'sys/vm/vm_extern.h')
-rw-r--r-- | sys/vm/vm_extern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_extern.h b/sys/vm/vm_extern.h index 9795cc1..e2a87c2d2 100644 --- a/sys/vm/vm_extern.h +++ b/sys/vm/vm_extern.h @@ -86,8 +86,8 @@ void vmspace_unshare(struct proc *); void vmspace_free(struct vmspace *); void vmspace_exitfree(struct proc *); void vnode_pager_setsize(struct vnode *, vm_ooffset_t); -int vslock(struct thread *, vm_offset_t, vm_size_t); -int vsunlock(struct thread *, vm_offset_t, vm_size_t); +int vslock(void *, size_t); +void vsunlock(void *, size_t); void vm_object_print(/* db_expr_t */ long, boolean_t, /* db_expr_t */ long, char *); int vm_fault_quick(caddr_t v, int prot); |