Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2012 17:37:41 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r238006 - stable/9/sys/amd64/amd64
Message-ID:  <201207021737.q62Hbffl084484@svn.freebsd.org>

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



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