summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2010-05-31 06:06:10 +0000
committeralc <alc@FreeBSD.org>2010-05-31 06:06:10 +0000
commitb5170d1a7e642f5cc280b8d424ccda7498ae2d2e (patch)
tree7caaf73b14044de062cf33af510f2dd61fb7bd5c /sys/i386
parent607fc8f5ea702e258d06f685b85d0f33a5b044fe (diff)
downloadFreeBSD-src-b5170d1a7e642f5cc280b8d424ccda7498ae2d2e.zip
FreeBSD-src-b5170d1a7e642f5cc280b8d424ccda7498ae2d2e.tar.gz
Eliminate a stale comment.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/pmap.c4
-rw-r--r--sys/i386/xen/pmap.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index 9dbab4e..1316eb8 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -3323,10 +3323,6 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_prot_t access, vm_page_t m,
if (mpte)
mpte->wire_count--;
- /*
- * We might be turning off write access to the page,
- * so we go ahead and sense modify status.
- */
if (origpte & PG_MANAGED) {
om = m;
pa |= PG_MANAGED;
diff --git a/sys/i386/xen/pmap.c b/sys/i386/xen/pmap.c
index 67bbd27..1a3a9d5 100644
--- a/sys/i386/xen/pmap.c
+++ b/sys/i386/xen/pmap.c
@@ -2737,10 +2737,6 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_prot_t access, vm_page_t m,
if (mpte)
mpte->wire_count--;
- /*
- * We might be turning off write access to the page,
- * so we go ahead and sense modify status.
- */
if (origpte & PG_MANAGED) {
om = m;
pa |= PG_MANAGED;
OpenPOWER on IntegriCloud