* [PATCH] arm64: mm: remove unused functions and variable protoypes
@ 2015-02-25 2:47 Yingjoe Chen
2015-02-25 11:10 ` Will Deacon
0 siblings, 1 reply; 2+ messages in thread
From: Yingjoe Chen @ 2015-02-25 2:47 UTC (permalink / raw)
To: linux-arm-kernel
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@mediatek.com>
---
arch/arm64/include/asm/tlbflush.h | 5 -----
1 file changed, 5 deletions(-)
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] arm64: mm: remove unused functions and variable protoypes
2015-02-25 2:47 [PATCH] arm64: mm: remove unused functions and variable protoypes Yingjoe Chen
@ 2015-02-25 11:10 ` Will Deacon
0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2015-02-25 11:10 UTC (permalink / raw)
To: linux-arm-kernel
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@mediatek.com>
> ---
> arch/arm64/include/asm/tlbflush.h | 5 -----
> 1 file changed, 5 deletions(-)
Acked-by: Will Deacon <will.deacon@arm.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
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-25 11:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 2:47 [PATCH] arm64: mm: remove unused functions and variable protoypes Yingjoe Chen
2015-02-25 11:10 ` Will Deacon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).