From owner-svn-src-all@FreeBSD.ORG Sun Jul 13 17:52:08 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0CC94EC5; Sun, 13 Jul 2014 17:52:08 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EE6872AE8; Sun, 13 Jul 2014 17:52:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6DHq7MM002817; Sun, 13 Jul 2014 17:52:07 GMT (envelope-from alc@svn.freebsd.org) Received: (from alc@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6DHq7mM002816; Sun, 13 Jul 2014 17:52:07 GMT (envelope-from alc@svn.freebsd.org) Message-Id: <201407131752.s6DHq7mM002816@svn.freebsd.org> From: Alan Cox Date: Sun, 13 Jul 2014 17:52:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268596 - head/sys/powerpc/aim X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2014 17:52:08 -0000 Author: alc Date: Sun Jul 13 17:52:07 2014 New Revision: 268596 URL: http://svnweb.freebsd.org/changeset/base/268596 Log: Eliminate an unused variable. Refresh two comments. Modified: head/sys/powerpc/aim/mmu_oea.c Modified: head/sys/powerpc/aim/mmu_oea.c ============================================================================== --- head/sys/powerpc/aim/mmu_oea.c Sun Jul 13 17:50:50 2014 (r268595) +++ head/sys/powerpc/aim/mmu_oea.c Sun Jul 13 17:52:07 2014 (r268596) @@ -1141,7 +1141,7 @@ moea_enter(mmu_t mmu, pmap_t pmap, vm_of * target pmap with the protection requested. If specified the page * will be wired down. * - * The page queues and pmap must be locked. + * The global pvh and pmap must be locked. */ static void moea_enter_locked(pmap_t pmap, vm_offset_t va, vm_page_t m, vm_prot_t prot, @@ -1149,7 +1149,6 @@ moea_enter_locked(pmap_t pmap, vm_offset { struct pvo_head *pvo_head; uma_zone_t zone; - vm_page_t pg; u_int pte_lo, pvo_flags; int error; @@ -1157,10 +1156,8 @@ moea_enter_locked(pmap_t pmap, vm_offset pvo_head = &moea_pvo_kunmanaged; zone = moea_upvo_zone; pvo_flags = 0; - pg = NULL; } else { pvo_head = vm_page_to_pvoh(m); - pg = m; zone = moea_mpvo_zone; pvo_flags = PVO_MANAGED; } @@ -1170,7 +1167,7 @@ moea_enter_locked(pmap_t pmap, vm_offset if ((m->oflags & VPO_UNMANAGED) == 0 && !vm_page_xbusied(m)) VM_OBJECT_ASSERT_LOCKED(m->object); - /* XXX change the pvo head for fake pages */ + /* XXX change the pvo head for unmanaged pages */ if ((m->oflags & VPO_UNMANAGED) != 0) { pvo_flags &= ~PVO_MANAGED; pvo_head = &moea_pvo_kunmanaged;