svn commit: r260103 - head/sys/amd64/amd64
Dimitry Andric
dim at FreeBSD.org
Mon Dec 30 20:37:47 UTC 2013
Author: dim
Date: Mon Dec 30 20:37:47 2013
New Revision: 260103
URL: http://svnweb.freebsd.org/changeset/base/260103
Log:
In sys/amd64/amd64/pmap.c, remove static function pmap_is_current(),
which has been unused since r189415.
Reviewed by: alc
MFC after: 3 days
Modified:
head/sys/amd64/amd64/pmap.c
Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c Mon Dec 30 20:34:53 2013 (r260102)
+++ head/sys/amd64/amd64/pmap.c Mon Dec 30 20:37:47 2013 (r260103)
@@ -1766,16 +1766,6 @@ pmap_invalidate_cache_pages(vm_page_t *p
}
/*
- * Are we current address space or kernel?
- */
-static __inline int
-pmap_is_current(pmap_t pmap)
-{
- return (pmap == kernel_pmap ||
- (pmap->pm_pml4[PML4PML4I] & PG_FRAME) == (PML4pml4e[0] & PG_FRAME));
-}
-
-/*
* Routine: pmap_extract
* Function:
* Extract the physical page address associated
More information about the svn-src-all
mailing list