From 9699ca07d2cae2224f351d0a332b8265c829f9a8 Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 3 Jan 2008 06:44:12 +0000 Subject: Use correct function name in panic message --- sys/arm/arm/pmap.c | 2 +- sys/ia64/ia64/pmap.c | 2 +- 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); -- cgit v1.1