Author: dim
Date: Sat Jan  4 21:45:52 2014
New Revision: 260289
URL: http://svnweb.freebsd.org/changeset/base/260289

Log:
  MFC r260103:
  
  In sys/amd64/amd64/pmap.c, remove static function pmap_is_current(),
  which has been unused since r189415.
  
  Reviewed by:  alc

Modified:
  stable/9/sys/amd64/amd64/pmap.c
Directory Properties:
  stable/9/sys/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/sys/amd64/amd64/pmap.c
  stable/7/sys/amd64/amd64/pmap.c
  stable/8/sys/amd64/amd64/pmap.c
Directory Properties:
  stable/10/   (props changed)
  stable/7/sys/   (props changed)
  stable/8/sys/   (props changed)

Modified: stable/9/sys/amd64/amd64/pmap.c
==============================================================================
--- stable/9/sys/amd64/amd64/pmap.c     Sat Jan  4 21:38:41 2014        
(r260288)
+++ stable/9/sys/amd64/amd64/pmap.c     Sat Jan  4 21:45:52 2014        
(r260289)
@@ -1228,16 +1228,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
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to