summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include/pmap.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2002-08-07 18:03:00 +0000
committeralc <alc@FreeBSD.org>2002-08-07 18:03:00 +0000
commit40626b3576f6380b744a554745468bd598a6f67a (patch)
tree92396e368beb957e3bb04be18a8aa97e21eec07e /sys/ia64/include/pmap.h
parent2a67a29f212b1292f8d4deadb4262ef2a4beb0de (diff)
downloadFreeBSD-src-40626b3576f6380b744a554745468bd598a6f67a.zip
FreeBSD-src-40626b3576f6380b744a554745468bd598a6f67a.tar.gz
o Introduce pmap_page_is_mapped(). Its purpose is to obsolete
the PG_MAPPED flag.
Diffstat (limited to 'sys/ia64/include/pmap.h')
-rw-r--r--sys/ia64/include/pmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ia64/include/pmap.h b/sys/ia64/include/pmap.h
index ff00b41..8ed0712 100644
--- a/sys/ia64/include/pmap.h
+++ b/sys/ia64/include/pmap.h
@@ -95,6 +95,7 @@ struct pmap {
struct vm_page *pm_ptphint; /* pmap ptp hint */
};
+#define pmap_page_is_mapped(m) (!TAILQ_EMPTY(&(m)->md.pv_list))
#define pmap_resident_count(pmap) (pmap)->pm_stats.resident_count
#define PM_FLAG_LOCKED 0x1
OpenPOWER on IntegriCloud