From 8cfba7267f196819d7849d2c570fa3394f28fe2b Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 17 Mar 2007 19:42:06 +0000 Subject: [PATCH] Eliminate an unused parameter. --- sys/i386/i386/machdep.c | 2 +- sys/i386/i386/pmap.c | 2 +- sys/i386/include/pmap.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 735c6bc586ba..4ed4a38692de 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -1881,7 +1881,7 @@ getmemsize(int first) physmap[physmap_idx + 1] = ptoa((vm_paddr_t)Maxmem); /* call pmap initialization to make new kernel address space */ - pmap_bootstrap(first, 0); + pmap_bootstrap(first); /* * Size up each available chunk of physical memory. diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 18130fa94cdb..19a18e916092 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -320,7 +320,7 @@ pmap_kmem_choose(vm_offset_t addr) * (physical) address starting relative to 0] */ void -pmap_bootstrap(vm_paddr_t firstaddr, vm_paddr_t loadaddr) +pmap_bootstrap(vm_paddr_t firstaddr) { vm_offset_t va; pt_entry_t *pte, *unused; diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h index 02adbb51cf7b..95a0c424140b 100644 --- a/sys/i386/include/pmap.h +++ b/sys/i386/include/pmap.h @@ -372,7 +372,7 @@ extern vm_offset_t virtual_end; #define pmap_page_is_mapped(m) (!TAILQ_EMPTY(&(m)->md.pv_list)) #define pmap_unmapbios(va, sz) pmap_unmapdev((va), (sz)) -void pmap_bootstrap(vm_paddr_t, vm_paddr_t); +void pmap_bootstrap(vm_paddr_t); int pmap_change_attr(vm_offset_t, vm_size_t, int); void pmap_init_pat(void); void pmap_kenter(vm_offset_t va, vm_paddr_t pa);