From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753169AbbBYLKq (ORCPT ); Wed, 25 Feb 2015 06:10:46 -0500 Received: from foss.arm.com ([217.140.101.70]:37162 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752580AbbBYLKp (ORCPT ); Wed, 25 Feb 2015 06:10:45 -0500 Date: Wed, 25 Feb 2015 11:10:42 +0000 From: Will Deacon To: Yingjoe Chen Cc: Catalin Marinas , Steve Capper , "srv_heupstream@mediatek.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] arm64: mm: remove unused functions and variable protoypes Message-ID: <20150225111041.GA17366@arm.com> References: <1424832465-21181-1-git-send-email-yingjoe.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1424832465-21181-1-git-send-email-yingjoe.chen@mediatek.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 25, 2015 at 02:47:45AM +0000, Yingjoe Chen wrote: > The functions __cpu_flush_user_tlb_range and __cpu_flush_kern_tlb_range > were removed in commit fa48e6f780 'arm64: mm: Optimise tlb flush logic > where we have >4K granule'. Global variable cpu_tlb was never used in > arm64. > > Remove them. > > Signed-off-by: Yingjoe Chen > --- > arch/arm64/include/asm/tlbflush.h | 5 ----- > 1 file changed, 5 deletions(-) Acked-by: Will Deacon Will > diff --git a/arch/arm64/include/asm/tlbflush.h b/arch/arm64/include/asm/tlbflush.h > index 73f0ce5..4abe9b9 100644 > --- a/arch/arm64/include/asm/tlbflush.h > +++ b/arch/arm64/include/asm/tlbflush.h > @@ -24,11 +24,6 @@ > #include > #include > > -extern void __cpu_flush_user_tlb_range(unsigned long, unsigned long, struct vm_area_struct *); > -extern void __cpu_flush_kern_tlb_range(unsigned long, unsigned long); > - > -extern struct cpu_tlb_fns cpu_tlb; > - > /* > * TLB Management > * ============== > -- > 1.8.1.1.dirty > >