svn commit: r237085 - head/sys/amd64/amd64

Alan Cox alc at FreeBSD.org
Thu Jun 14 17:40:50 UTC 2012


Author: alc
Date: Thu Jun 14 17:40:49 2012
New Revision: 237085
URL: http://svn.freebsd.org/changeset/base/237085

Log:
  Correctly identify the function in a KASSERT().
  
  MFC after:	3 days

Modified:
  head/sys/amd64/amd64/pmap.c

Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c	Thu Jun 14 17:32:58 2012	(r237084)
+++ head/sys/amd64/amd64/pmap.c	Thu Jun 14 17:40:49 2012	(r237085)
@@ -4408,8 +4408,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-head mailing list