summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-04-10 18:42:06 +0000
committerjhb <jhb@FreeBSD.org>2003-04-10 18:42:06 +0000
commit526c3912c0d2321a2bcb25de11e0b2e6abb7fd18 (patch)
tree237e9d55f239cfffcb590ff969956f3a238dc4a5 /sys/alpha
parente437fca0bdcd9a7f712b3c1a8eac0e38a67806fa (diff)
downloadFreeBSD-src-526c3912c0d2321a2bcb25de11e0b2e6abb7fd18.zip
FreeBSD-src-526c3912c0d2321a2bcb25de11e0b2e6abb7fd18.tar.gz
- Kill the pv_flags member of the alpha mdpage since it stop being used
in rev 1.61 of pmap.c. - Now that pmap_page_is_free() is empty and since it is just a hack for the Alpha pmap, remove it.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/pmap.c14
-rw-r--r--sys/alpha/include/pmap.h1
2 files changed, 0 insertions, 15 deletions
diff --git a/sys/alpha/alpha/pmap.c b/sys/alpha/alpha/pmap.c
index 06fb7ca..f51960a 100644
--- a/sys/alpha/alpha/pmap.c
+++ b/sys/alpha/alpha/pmap.c
@@ -633,7 +633,6 @@ pmap_init(phys_start, phys_end)
m = &vm_page_array[i];
TAILQ_INIT(&m->md.pv_list);
m->md.pv_list_count = 0;
- m->md.pv_flags = 0;
}
/*
@@ -2902,19 +2901,6 @@ pmap_clear_modify(vm_page_t m)
}
/*
- * pmap_page_is_free:
- *
- * Called when a page is freed to allow pmap to clean up
- * any extra state associated with the page. In this case
- * clear modified/referenced bits.
- */
-void
-pmap_page_is_free(vm_page_t m)
-{
- m->md.pv_flags = 0;
-}
-
-/*
* pmap_clear_reference:
*
* Clear the reference bit on the specified physical page.
diff --git a/sys/alpha/include/pmap.h b/sys/alpha/include/pmap.h
index 981bea3..b64cee8 100644
--- a/sys/alpha/include/pmap.h
+++ b/sys/alpha/include/pmap.h
@@ -161,7 +161,6 @@ struct pv_entry;
struct md_page {
int pv_list_count;
- int pv_flags;
TAILQ_HEAD(,pv_entry) pv_list;
};
OpenPOWER on IntegriCloud