svn commit: r238006 - stable/9/sys/amd64/amd64

Alan Cox alc at FreeBSD.org
Mon Jul 2 17:37:41 UTC 2012


Author: alc
Date: Mon Jul  2 17:37:40 2012
New Revision: 238006
URL: http://svn.freebsd.org/changeset/base/238006

Log:
  MFC r237085
    Correctly identify the function in a KASSERT().

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

Modified: stable/9/sys/amd64/amd64/pmap.c
==============================================================================
--- stable/9/sys/amd64/amd64/pmap.c	Mon Jul  2 17:22:38 2012	(r238005)
+++ stable/9/sys/amd64/amd64/pmap.c	Mon Jul  2 17:37:40 2012	(r238006)
@@ -4409,8 +4409,9 @@ small_mappings:
 		pmap = PV_PMAP(pv);
 		PMAP_LOCK(pmap);
 		pde = pmap_pde(pmap, pv->pv_va);
-		KASSERT((*pde & PG_PS) == 0, ("pmap_clear_write: found"
-		    " a 2mpage in page %p's pv list", m));
+		KASSERT((*pde & PG_PS) == 0,
+		    ("pmap_remove_write: found a 2mpage in page %p's pv list",
+		    m));
 		pte = pmap_pde_to_pte(pde, pv->pv_va);
 retry:
 		oldpte = *pte;


More information about the svn-src-stable-9 mailing list