Date: Thu, 6 May 2010 04:23:52 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r207692 - in head/sys/mips: include mips Message-ID: <201005060423.o464Nq83061921@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: alc Date: Thu May 6 04:23:52 2010 New Revision: 207692 URL: http://svn.freebsd.org/changeset/base/207692 Log: Eliminate dead code. Modified: head/sys/mips/include/pmap.h head/sys/mips/mips/pmap.c Modified: head/sys/mips/include/pmap.h ============================================================================== --- head/sys/mips/include/pmap.h Thu May 6 01:08:36 2010 (r207691) +++ head/sys/mips/include/pmap.h Thu May 6 04:23:52 2010 (r207692) @@ -175,7 +175,6 @@ void pmap_unmapdev(vm_offset_t, vm_size_ vm_offset_t pmap_steal_memory(vm_size_t size); void pmap_set_modified(vm_offset_t pa); int page_is_managed(vm_offset_t pa); -void pmap_page_is_free(vm_page_t m); void pmap_kenter(vm_offset_t va, vm_paddr_t pa); void pmap_kremove(vm_offset_t va); void *pmap_kenter_temporary(vm_paddr_t pa, int i); Modified: head/sys/mips/mips/pmap.c ============================================================================== --- head/sys/mips/mips/pmap.c Thu May 6 01:08:36 2010 (r207691) +++ head/sys/mips/mips/pmap.c Thu May 6 04:23:52 2010 (r207692) @@ -3030,20 +3030,6 @@ init_pte_prot(vm_offset_t va, vm_page_t } /* - * 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_set_modified: * * Sets the page modified and reference bits for the specified page.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005060423.o464Nq83061921>