diff options
author | alc <alc@FreeBSD.org> | 2013-09-20 04:30:18 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2013-09-20 04:30:18 +0000 |
commit | 88a4d0f31a9eb87f44806242b097f545ae385c34 (patch) | |
tree | b6ca037877d42dd75bff7cafcabdc22bb90a6901 /sys/mips | |
parent | 5e1eb8fc155e3e63149905020980fa61b215f804 (diff) | |
download | FreeBSD-src-88a4d0f31a9eb87f44806242b097f545ae385c34.zip FreeBSD-src-88a4d0f31a9eb87f44806242b097f545ae385c34.tar.gz |
The pmap function pmap_clear_reference() is no longer used. Remove it.
pmap_clear_reference() has had exactly one caller in the kernel for
several years, more precisely, since FreeBSD 8. Now, that call no
longer exists.
Approved by: re (kib)
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/mips')
-rw-r--r-- | sys/mips/mips/pmap.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/mips/mips/pmap.c b/sys/mips/mips/pmap.c index d1bf5ea..6bc5ba9 100644 --- a/sys/mips/mips/pmap.c +++ b/sys/mips/mips/pmap.c @@ -3053,24 +3053,6 @@ pmap_is_referenced(vm_page_t m) } /* - * pmap_clear_reference: - * - * Clear the reference bit on the specified physical page. - */ -void -pmap_clear_reference(vm_page_t m) -{ - - KASSERT((m->oflags & VPO_UNMANAGED) == 0, - ("pmap_clear_reference: page %p is not managed", m)); - rw_wlock(&pvh_global_lock); - if (m->md.pv_flags & PV_TABLE_REF) { - m->md.pv_flags &= ~PV_TABLE_REF; - } - rw_wunlock(&pvh_global_lock); -} - -/* * Miscellaneous support routines follow */ |