Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2011 14:16:45 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r222214 - stable/8/sys/powerpc/aim
Message-ID:  <201105231416.p4NEGj0t025234@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105231416.p4NEGj0t025234>