Fix obsolete comment. pmap_remove_all is the function we're in.

This commit is contained in:
Warner Losh 2008-01-03 06:35:04 +00:00
parent 409fe84319
commit e2888dfc26
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175065

View file

@ -1458,8 +1458,7 @@ pmap_remove_all(vm_page_t m)
#if defined(DIAGNOSTIC)
/*
* XXX this makes pmap_page_protect(NONE) illegal for non-managed
* pages!
* XXX This makes pmap_remove_all() illegal for non-managed pages!
*/
if (m->flags & PG_FICTITIOUS) {
panic("pmap_page_protect: illegal for unmanaged page, va: 0x%lx", VM_PAGE_TO_PHYS(m));