diff options
author | alc <alc@FreeBSD.org> | 2004-04-04 23:33:36 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-04-04 23:33:36 +0000 |
commit | e9f0dd466501c865ab097b597fb2f603460ab091 (patch) | |
tree | c011ddd12dc1fe0df22ae4a47eead1f72cfc6536 /sys/vm | |
parent | 4715cf5aeb16645a914cb184fb76a03005a5004d (diff) | |
download | FreeBSD-src-e9f0dd466501c865ab097b597fb2f603460ab091.zip FreeBSD-src-e9f0dd466501c865ab097b597fb2f603460ab091.tar.gz |
Eliminate unused arguments from vm_page_startup().
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_init.c | 2 | ||||
-rw-r--r-- | sys/vm/vm_page.c | 2 | ||||
-rw-r--r-- | sys/vm/vm_page.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_init.c b/sys/vm/vm_init.c index 0a93d85..19119bb 100644 --- a/sys/vm/vm_init.c +++ b/sys/vm/vm_init.c @@ -113,7 +113,7 @@ vm_mem_init(dummy) * memory is accounted for, and we use only virtual addresses. */ vm_set_page_size(); - virtual_avail = vm_page_startup(avail_start, avail_end, virtual_avail); + virtual_avail = vm_page_startup(virtual_avail); /* * Initialize other VM packages diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index ae1673a..a4cee97 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -162,7 +162,7 @@ vm_set_page_size(void) * Each page cell is initialized and placed on the free list. */ vm_offset_t -vm_page_startup(vm_offset_t starta, vm_offset_t enda, vm_offset_t vaddr) +vm_page_startup(vm_offset_t vaddr) { vm_offset_t mapped; vm_size_t npages; diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index a3529c7..4c25a4d 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -368,7 +368,7 @@ void vm_page_remove (vm_page_t); void vm_page_rename (vm_page_t, vm_object_t, vm_pindex_t); vm_page_t vm_page_select_cache(int); vm_page_t vm_page_splay(vm_pindex_t, vm_page_t); -vm_offset_t vm_page_startup (vm_offset_t, vm_offset_t, vm_offset_t); +vm_offset_t vm_page_startup(vm_offset_t vaddr); void vm_page_unmanage (vm_page_t); void vm_page_unwire (vm_page_t, int); void vm_page_wire (vm_page_t); |