svn commit: r222214 - stable/8/sys/powerpc/aim

Nathan Whitehorn nwhitehorn at FreeBSD.org
Mon May 23 14:16:45 UTC 2011


Author: nwhitehorn
Date: Mon May 23 14:16:45 2011
New Revision: 222214
URL: http://svn.freebsd.org/changeset/base/222214

Log:
  MFC r221981:
  Remove a useless check that could break early boot if the page zero routines
  are called too early in the boot process.

Modified:
  stable/8/sys/powerpc/aim/mmu_oea64.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/powerpc/aim/mmu_oea64.c
==============================================================================
--- stable/8/sys/powerpc/aim/mmu_oea64.c	Mon May 23 13:51:57 2011	(r222213)
+++ stable/8/sys/powerpc/aim/mmu_oea64.c	Mon May 23 14:16:45 2011	(r222214)
@@ -1144,8 +1144,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 %#x", 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 off;
 
-	if (!moea64_initialized)
-		panic("moea64_zero_page: can't zero pa %#x", pa);
-
 	mtx_lock(&moea64_scratchpage_mtx);
 
 	moea64_set_scratchpage_pa(0,pa);


More information about the svn-src-all mailing list