diff options
author | alc <alc@FreeBSD.org> | 2002-08-07 19:37:22 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2002-08-07 19:37:22 +0000 |
commit | 88f95af1eda95a5ed29bf0f1f6ffe153644c2129 (patch) | |
tree | 27bbf9807190504b5e9f92aff88276af47d3bf0f /sys/powerpc | |
parent | 4d0a996d1847d5f0e3aaf2638276de9ee9f15ca3 (diff) | |
download | FreeBSD-src-88f95af1eda95a5ed29bf0f1f6ffe153644c2129.zip FreeBSD-src-88f95af1eda95a5ed29bf0f1f6ffe153644c2129.tar.gz |
o Introduce pmap_page_is_mapped(). Its purpose is to obsolete
the PG_MAPPED flag.
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/include/pmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/include/pmap.h b/sys/powerpc/include/pmap.h index e1fb037..8419605 100644 --- a/sys/powerpc/include/pmap.h +++ b/sys/powerpc/include/pmap.h @@ -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 |