Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2013 17:26:25 -0500
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Alan Cox <alc@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
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
Message-ID:  <523CCB91.3030606@freebsd.org>
In-Reply-To: <201309200430.r8K4UJu0067909@svn.freebsd.org>
References:  <201309200430.r8K4UJu0067909@svn.freebsd.org>

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



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