Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: mm: remove unused functions and variable protoypes

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>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>

authored by

Yingjoe Chen and committed by
Catalin Marinas
06ff87ba f5e0a12c

-5
-5
arch/arm64/include/asm/tlbflush.h
··· 24 24 #include <linux/sched.h> 25 25 #include <asm/cputype.h> 26 26 27 - extern void __cpu_flush_user_tlb_range(unsigned long, unsigned long, struct vm_area_struct *); 28 - extern void __cpu_flush_kern_tlb_range(unsigned long, unsigned long); 29 - 30 - extern struct cpu_tlb_fns cpu_tlb; 31 - 32 27 /* 33 28 * TLB Management 34 29 * ==============