o Introduce pmap_page_is_mapped(). Its purpose is to obsolete

the PG_MAPPED flag.
This commit is contained in:
Alan Cox 2002-08-07 19:37:22 +00:00
parent 2d70161756
commit dde5f1949f

View File

@ -63,6 +63,7 @@ struct md_page {
extern struct pmap kernel_pmap_store;
#define kernel_pmap (&kernel_pmap_store)
#define pmap_page_is_mapped(m) (!LIST_EMPTY(&(m)->md.mdpg_pvoh))
#define pmap_resident_count(pm) (pm->pm_stats.resident_count)
#ifdef _KERNEL