summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-01-03 06:44:12 +0000
committerimp <imp@FreeBSD.org>2008-01-03 06:44:12 +0000
commit9699ca07d2cae2224f351d0a332b8265c829f9a8 (patch)
tree4141ece30d6e26c51740b6c9c5b195c8c51a17b7
parenta3fe3266a01610c75978aed35d3e3f88cc97911a (diff)
downloadFreeBSD-src-9699ca07d2cae2224f351d0a332b8265c829f9a8.zip
FreeBSD-src-9699ca07d2cae2224f351d0a332b8265c829f9a8.tar.gz
Use correct function name in panic message
-rw-r--r--sys/arm/arm/pmap.c2
-rw-r--r--sys/ia64/ia64/pmap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c
index 3f4366e..4e4495d 100644
--- a/sys/arm/arm/pmap.c
+++ b/sys/arm/arm/pmap.c
@@ -3173,7 +3173,7 @@ pmap_remove_all(vm_page_t m)
* XXX This makes pmap_remove_all() illegal for non-managed pages!
*/
if (m->flags & PG_FICTITIOUS) {
- panic("pmap_page_protect: illegal for unmanaged page, va: 0x%x", VM_PAGE_TO_PHYS(m));
+ panic("pmap_remove_all: illegal for unmanaged page, va: 0x%x", VM_PAGE_TO_PHYS(m));
}
#endif
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c
index 0696054..72e5cbd 100644
--- a/sys/ia64/ia64/pmap.c
+++ b/sys/ia64/ia64/pmap.c
@@ -1461,7 +1461,7 @@ pmap_remove_all(vm_page_t m)
* XXX This makes pmap_remove_all() illegal for non-managed pages!
*/
if (m->flags & PG_FICTITIOUS) {
- panic("pmap_page_protect: illegal for unmanaged page, va: 0x%lx", VM_PAGE_TO_PHYS(m));
+ panic("pmap_remove_all: illegal for unmanaged page, va: 0x%lx", VM_PAGE_TO_PHYS(m));
}
#endif
mtx_assert(&vm_page_queue_mtx, MA_OWNED);
OpenPOWER on IntegriCloud