diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-29 22:54:12 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-05 06:48:05 +0900 |
commit | 032745204b45ef69ec382526bca206674d9d84de (patch) | |
tree | 8a9640b38f9eb3afa21f63935c2428dcb7c4ad87 /vm | |
parent | 4b17f665e5a83534361452eb5e4ab9aa1e54cd3b (diff) |
vm/vm_fault.c: remove forward declaration
* vm/vm_fault.c (vm_fault_wire_fast): Remove forward declaration.
* vm/vm_fault.h (vm_fault_wire_fast): Add prototype.
Diffstat (limited to 'vm')
-rw-r--r-- | vm/vm_fault.c | 2 | ||||
-rw-r--r-- | vm/vm_fault.h | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/vm/vm_fault.c b/vm/vm_fault.c index d0c7f96..96c8387 100644 --- a/vm/vm_fault.c +++ b/vm/vm_fault.c @@ -1495,8 +1495,6 @@ kern_return_t vm_fault(map, vaddr, fault_type, change_wiring, return(kr); } -kern_return_t vm_fault_wire_fast(); - /* * vm_fault_wire: * diff --git a/vm/vm_fault.h b/vm/vm_fault.h index 0492ccf..7fdbc41 100644 --- a/vm/vm_fault.h +++ b/vm/vm_fault.h @@ -69,4 +69,10 @@ extern void vm_fault_unwire(vm_map_t, vm_map_entry_t); extern kern_return_t vm_fault_copy(vm_object_t, vm_offset_t, vm_size_t *, vm_object_t, vm_offset_t, vm_map_t, vm_map_version_t *, boolean_t); + +kern_return_t vm_fault_wire_fast( + vm_map_t map, + vm_offset_t va, + vm_map_entry_t entry); + #endif /* _VM_VM_FAULT_H_ */ |