summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/mmu_oea64.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-05-16 03:32:40 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-05-16 03:32:40 +0000
commitf1e4896e8a60b8e3344584d371b1d120df7483fd (patch)
treec9d5bba36113dca57dc86770696ce1b6a054a0e6 /sys/powerpc/aim/mmu_oea64.c
parent8f911dc953f0e2d9b222a9e9131ff7ce57dc3d9b (diff)
downloadFreeBSD-src-f1e4896e8a60b8e3344584d371b1d120df7483fd.zip
FreeBSD-src-f1e4896e8a60b8e3344584d371b1d120df7483fd.tar.gz
Remove a useless check that served only to make 64-bit PPC systems
unbootable after r221855. Submitted by: andreast MFC after: 1 week
Diffstat (limited to 'sys/powerpc/aim/mmu_oea64.c')
-rw-r--r--sys/powerpc/aim/mmu_oea64.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/powerpc/aim/mmu_oea64.c b/sys/powerpc/aim/mmu_oea64.c
index d20de53..c33a094 100644
--- a/sys/powerpc/aim/mmu_oea64.c
+++ b/sys/powerpc/aim/mmu_oea64.c
@@ -1141,8 +1141,6 @@ moea64_zero_page_area(mmu_t mmu, vm_page_t m, int off, int size)
{
vm_offset_t pa = VM_PAGE_TO_PHYS(m);
- if (!moea64_initialized)
- panic("moea64_zero_page: can't zero pa %#" PRIxPTR, pa);
if (size + off > PAGE_SIZE)
panic("moea64_zero_page: size + off > PAGE_SIZE");
@@ -1165,9 +1163,6 @@ moea64_zero_page(mmu_t mmu, vm_page_t m)
vm_offset_t pa = VM_PAGE_TO_PHYS(m);
vm_offset_t va, off;
- if (!moea64_initialized)
- panic("moea64_zero_page: can't zero pa %#zx", pa);
-
if (!hw_direct_map) {
mtx_lock(&moea64_scratchpage_mtx);
OpenPOWER on IntegriCloud