diff options
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_extern.h | 1 | ||||
-rw-r--r-- | sys/vm/vm_fault.c | 18 |
2 files changed, 0 insertions, 19 deletions
diff --git a/sys/vm/vm_extern.h b/sys/vm/vm_extern.h index 4c1e304..80dc975 100644 --- a/sys/vm/vm_extern.h +++ b/sys/vm/vm_extern.h @@ -85,7 +85,6 @@ 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); struct sf_buf *vm_imgact_map_page(vm_object_t object, vm_ooffset_t offset); void vm_imgact_unmap_page(struct sf_buf *sf); void vm_thread_dispose(struct thread *td); diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c index 8e649d2..41633fc 100644 --- a/sys/vm/vm_fault.c +++ b/sys/vm/vm_fault.c @@ -1120,24 +1120,6 @@ error: } /* - * vm_fault_quick: - * - * Ensure that the requested virtual address, which may be in userland, - * is valid. Fault-in the page if necessary. Return -1 on failure. - */ -int -vm_fault_quick(caddr_t v, int prot) -{ - int r; - - if (prot & VM_PROT_WRITE) - r = subyte(v, fubyte(v)); - else - r = fubyte(v); - return(r); -} - -/* * vm_fault_wire: * * Wire down a range of virtual addresses in a map. |