diff options
author | dim <dim@FreeBSD.org> | 2014-01-04 21:45:52 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-01-04 21:45:52 +0000 |
commit | 3a06a5ceae4531c2f3b1c80b21c125a9b3fbd582 (patch) | |
tree | 24fa7d40a450742acaea7c0eca085d90dd92624e | |
parent | 6f23e4f462886b4437cb46ac3a0e81462a8f1c0b (diff) | |
download | FreeBSD-src-3a06a5ceae4531c2f3b1c80b21c125a9b3fbd582.zip FreeBSD-src-3a06a5ceae4531c2f3b1c80b21c125a9b3fbd582.tar.gz |
MFC r260103:
In sys/amd64/amd64/pmap.c, remove static function pmap_is_current(),
which has been unused since r189415.
Reviewed by: alc
-rw-r--r-- | sys/amd64/amd64/pmap.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index d60cbd1..3126bbc 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -1767,16 +1767,6 @@ pmap_invalidate_cache_pages(vm_page_t *pages, int count) } /* - * 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 |