diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2007-05-05 00:31:17 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:27:09 +0200 |
commit | 72826a301936f2a473c996da0b4a0199cb1bba32 (patch) | |
tree | fd79bcc23f9929130e1e84988ce8ee614c95b3ee | |
parent | b10112ec96516939dc3cb5d523807fda2755fb37 (diff) |
2007-05-05 Thomas Schwinge <tschwinge@gnu.org>
* i386/intel/read_fault.c (intel_read_fault): Remove the last parameter
from the calls of `vm_map_lookup'.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | i386/intel/read_fault.c | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -1,5 +1,8 @@ 2007-05-05 Thomas Schwinge <tschwinge@gnu.org> + * i386/intel/read_fault.c (intel_read_fault): Remove the last parameter + from the calls of `vm_map_lookup'. + We're not in the eighties anymore. List arguments in function prototypes and definitions for a lot of symbols. Also drop some unused prototypes. I refrain from listing every changed symbol. diff --git a/i386/intel/read_fault.c b/i386/intel/read_fault.c index eb640cc..762f60d 100644 --- a/i386/intel/read_fault.c +++ b/i386/intel/read_fault.c @@ -51,7 +51,6 @@ intel_read_fault(map, vaddr) vm_page_t result_page; /* Result of vm_fault_page */ vm_page_t top_page; /* Placeholder page */ boolean_t wired; /* Is map region wired? */ - boolean_t su; kern_return_t result; register vm_page_t m; @@ -62,7 +61,7 @@ intel_read_fault(map, vaddr) * to begin search. */ result = vm_map_lookup(&map, vaddr, VM_PROT_READ, &version, - &object, &offset, &prot, &wired, &su); + &object, &offset, &prot, &wired); if (result != KERN_SUCCESS) return (result); @@ -135,7 +134,7 @@ intel_read_fault(map, vaddr) result = vm_map_lookup(&map, vaddr, VM_PROT_READ, &version, &retry_object, &retry_offset, &retry_prot, - &wired, &su); + &wired); if (result != KERN_SUCCESS) { vm_object_lock(m->object); RELEASE_PAGE(m); |