svn commit: r221981 - head/sys/powerpc/aim
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Mon May 16 03:32:40 UTC 2011
Author: nwhitehorn
Date: Mon May 16 03:32:40 2011
New Revision: 221981
URL: http://svn.freebsd.org/changeset/base/221981
Log:
Remove a useless check that served only to make 64-bit PPC systems
unbootable after r221855.
Submitted by: andreast
MFC after: 1 week
Modified:
head/sys/powerpc/aim/mmu_oea64.c
Modified: head/sys/powerpc/aim/mmu_oea64.c
==============================================================================
--- head/sys/powerpc/aim/mmu_oea64.c Mon May 16 03:23:50 2011 (r221980)
+++ head/sys/powerpc/aim/mmu_oea64.c Mon May 16 03:32:40 2011 (r221981)
@@ -1141,8 +1141,6 @@ moea64_zero_page_area(mmu_t mmu, vm_page
{
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);
More information about the svn-src-all
mailing list