Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2012 17:40:49 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r237085 - head/sys/amd64/amd64
Message-ID:  <201206141740.q5EHenWF009047@svn.freebsd.org>

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



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