summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2012-06-14 17:40:49 +0000
committeralc <alc@FreeBSD.org>2012-06-14 17:40:49 +0000
commit06117384c5184a96a1a0b9aee1c0985612fb6a38 (patch)
tree1b0c443c8ef8c78f9483d6fd7953b9419b1ebe76 /sys/amd64
parent2ede2f9ae2f3062ef61d3769e2ed2deaf8fead09 (diff)
downloadFreeBSD-src-06117384c5184a96a1a0b9aee1c0985612fb6a38.zip
FreeBSD-src-06117384c5184a96a1a0b9aee1c0985612fb6a38.tar.gz
Correctly identify the function in a KASSERT().
MFC after: 3 days
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 507c685..b7b8c2b 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -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;
OpenPOWER on IntegriCloud