Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2013 20:37:47 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r260103 - head/sys/amd64/amd64
Message-ID:  <201312302037.rBUKblCD007739@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312302037.rBUKblCD007739>