summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2006-04-03 21:16:10 +0000
committerpeter <peter@FreeBSD.org>2006-04-03 21:16:10 +0000
commit0f363b7d24838f1bdd9ac2da90c072a203e05b34 (patch)
tree3001f4d65f7401390150fd2d7a88ac244097f8db /sys/ia64
parenta1c5f48a6d0b711a37d0cf5569b3d031960ab88b (diff)
downloadFreeBSD-src-0f363b7d24838f1bdd9ac2da90c072a203e05b34.zip
FreeBSD-src-0f363b7d24838f1bdd9ac2da90c072a203e05b34.tar.gz
Remove the unused sva and eva arguments from pmap_remove_pages().
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/pmap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c
index 2407d3d..a00bbcf 100644
--- a/sys/ia64/ia64/pmap.c
+++ b/sys/ia64/ia64/pmap.c
@@ -1862,7 +1862,7 @@ pmap_page_exists_quick(pmap_t pmap, vm_page_t m)
* in the case of running down an entire address space.
*/
void
-pmap_remove_pages(pmap_t pmap, vm_offset_t sva, vm_offset_t eva)
+pmap_remove_pages(pmap_t pmap)
{
pmap_t oldpmap;
pv_entry_t pv, npv;
@@ -1881,9 +1881,6 @@ pmap_remove_pages(pmap_t pmap, vm_offset_t sva, vm_offset_t eva)
npv = TAILQ_NEXT(pv, pv_plist);
- if (pv->pv_va >= eva || pv->pv_va < sva)
- continue;
-
pte = pmap_find_vhpt(pv->pv_va);
KASSERT(pte != NULL, ("pte"));
if (!pmap_wired(pte))
OpenPOWER on IntegriCloud