summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2006-11-30 23:35:34 +0000
committercognet <cognet@FreeBSD.org>2006-11-30 23:35:34 +0000
commit644eaab03a49bf89e586ebc59d0a20bca174e136 (patch)
treeab9c0c7d5efb08a5579f54379f6158b946291218 /sys/arm
parent195024caefb666a006a4a1128c971e60e45b26fd (diff)
downloadFreeBSD-src-644eaab03a49bf89e586ebc59d0a20bca174e136.zip
FreeBSD-src-644eaab03a49bf89e586ebc59d0a20bca174e136.tar.gz
In pmap_ts_referenced(), don't attempt to do anything if the page is
fictitious, and just return 0.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/pmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c
index 15e7248..a1a25c0 100644
--- a/sys/arm/arm/pmap.c
+++ b/sys/arm/arm/pmap.c
@@ -4442,6 +4442,8 @@ int
pmap_ts_referenced(vm_page_t m)
{
+ if (m->flags & PG_FICTITIOUS)
+ return (0);
return (pmap_clearbit(m, PVF_REF));
}
OpenPOWER on IntegriCloud