1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Fix GCC warning: va = va += PAGE_SIZE contains pointless operation

va = va. Fix white space in nearby lines.
This commit is contained in:
Marcel Moolenaar 2007-05-19 18:25:14 +00:00
parent 0212104ba9
commit 68863fdbfc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169773

View File

@ -1420,14 +1420,14 @@ pmap_remove(pmap_t pmap, vm_offset_t sva, vm_offset_t eva)
pmap_remove_pte(pmap, pte, va, pv, 1);
}
}
} else {
for (va = sva; va < eva; va = va += PAGE_SIZE) {
for (va = sva; va < eva; va += PAGE_SIZE) {
pte = pmap_find_vhpt(va);
if (pte != NULL)
pmap_remove_pte(pmap, pte, va, 0, 1);
}
}
out:
vm_page_unlock_queues();
pmap_install(oldpmap);