From owner-svn-src-all@FreeBSD.ORG Fri Sep 20 22:26:26 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2E6FD562; Fri, 20 Sep 2013 22:26:26 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from anacreon.physics.wisc.edu (unknown [IPv6:2607:f388:101c:0:216:cbff:fe39:3fae]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EB4A32627; Fri, 20 Sep 2013 22:26:25 +0000 (UTC) Received: from anacreon.physics.wisc.edu (localhost [IPv6:::1]) by anacreon.physics.wisc.edu (8.14.7/8.14.7) with ESMTP id r8KMQPfc042664; Fri, 20 Sep 2013 17:26:25 -0500 (CDT) (envelope-from nwhitehorn@freebsd.org) Message-ID: <523CCB91.3030606@freebsd.org> Date: Fri, 20 Sep 2013 17:26:25 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD powerpc; rv:17.0) Gecko/20130402 Thunderbird/17.0.4 MIME-Version: 1.0 To: Alan Cox Subject: Re: svn commit: r255724 - in head/sys: amd64/amd64 arm/arm i386/i386 i386/xen ia64/ia64 mips/mips powerpc/aim powerpc/booke powerpc/powerpc sparc64/sparc64 vm References: <201309200430.r8K4UJu0067909@svn.freebsd.org> In-Reply-To: <201309200430.r8K4UJu0067909@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 20 Sep 2013 22:26:26 -0000 On 09/19/13 23:30, Alan Cox wrote: > Author: alc > Date: Fri Sep 20 04:30:18 2013 > New Revision: 255724 > URL: http://svnweb.freebsd.org/changeset/base/255724 > > Log: > The pmap function pmap_clear_reference() is no longer used. Remove it. > > pmap_clear_reference() has had exactly one caller in the kernel for > several years, more precisely, since FreeBSD 8. Now, that call no > longer exists. > > Approved by: re (kib) > Sponsored by: EMC / Isilon Storage Division > > > static void > > Modified: head/sys/powerpc/powerpc/pmap_dispatch.c > ============================================================================== > --- head/sys/powerpc/powerpc/pmap_dispatch.c Fri Sep 20 01:55:37 2013 (r255723) > +++ head/sys/powerpc/powerpc/pmap_dispatch.c Fri Sep 20 04:30:18 2013 (r255724) > @@ -116,14 +116,6 @@ pmap_clear_modify(vm_page_t m) > } > > void > -pmap_clear_reference(vm_page_t m) > -{ > - > - CTR2(KTR_PMAP, "%s(%p)", __func__, m); > - MMU_CLEAR_REFERENCE(mmu_obj, m); > -} > - > -void > pmap_copy(pmap_t dst_pmap, pmap_t src_pmap, vm_offset_t dst_addr, > vm_size_t len, vm_offset_t src_addr) > { > Could you also clean up the corresponding entry in powerpc/powerpc/mmu_if.m? -Nathan