Correctly identify the function in a KASSERT().

MFC after:	3 days
This commit is contained in:
Alan Cox 2012-06-14 17:40:49 +00:00
parent a79de683f5
commit 62657c50df

View File

@ -4408,8 +4408,9 @@ small_mappings:
pmap = PV_PMAP(pv);
PMAP_LOCK(pmap);
pde = pmap_pde(pmap, pv->pv_va);
KASSERT((*pde & PG_PS) == 0, ("pmap_clear_write: found"
" a 2mpage in page %p's pv list", m));
KASSERT((*pde & PG_PS) == 0,
("pmap_remove_write: found a 2mpage in page %p's pv list",
m));
pte = pmap_pde_to_pte(pde, pv->pv_va);
retry:
oldpte = *pte;