svn commit: r260289 - in stable: 10/sys/amd64/amd64 7/sys/amd64/amd64 8/sys/amd64/amd64 9/sys/amd64/amd64

Dimitry Andric dim at FreeBSD.org
Sat Jan 4 21:45:53 UTC 2014


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/8/sys/amd64/amd64/pmap.c
Directory Properties:
  stable/8/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/9/sys/amd64/amd64/pmap.c
Directory Properties:
  stable/10/   (props changed)
  stable/7/sys/   (props changed)
  stable/9/sys/   (props changed)

Modified: stable/8/sys/amd64/amd64/pmap.c
==============================================================================
--- stable/8/sys/amd64/amd64/pmap.c	Sat Jan  4 21:38:41 2014	(r260288)
+++ stable/8/sys/amd64/amd64/pmap.c	Sat Jan  4 21:45:52 2014	(r260289)
@@ -1088,16 +1088,6 @@ pmap_invalidate_cache_range(vm_offset_t 
 }
 
 /*
- * 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-stable-8 mailing list