[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150225111041.GA17366@arm.com>
Date: Wed, 25 Feb 2015 11:10:42 +0000
From: Will Deacon <will.deacon@....com>
To: Yingjoe Chen <yingjoe.chen@...iatek.com>
Cc: Catalin Marinas <Catalin.Marinas@....com>,
Steve Capper <steve.capper@...aro.org>,
"srv_heupstream@...iatek.com" <srv_heupstream@...iatek.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] arm64: mm: remove unused functions and variable protoypes
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 <yingjoe.chen@...iatek.com>
> ---
> arch/arm64/include/asm/tlbflush.h | 5 -----
> 1 file changed, 5 deletions(-)
Acked-by: Will Deacon <will.deacon@....com>
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 <linux/sched.h>
> #include <asm/cputype.h>
>
> -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
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists