Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aabf2539 authored by Yingjoe Chen's avatar Yingjoe Chen Committed by Sami Tolvanen
Browse files

UPSTREAM: 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 fa48e6f7 '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: default avatarYingjoe Chen <yingjoe.chen@mediatek.com>
Acked-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>

Bug: 31432001
Change-Id: If7edbff20f069c9ffcab5a6b3f416089cf92c9eb
(cherry picked from commit 06ff87bae8d30ab9c949ae8729355323e18107b4)
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent c956b0bb
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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
 *	==============