summaryrefslogtreecommitdiff
path: root/arch/csky
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-07-08 10:18:04 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-07-21 20:50:13 +0300
commit1d7708e75c49d08392884a08feeebaa3f9d80703 (patch)
tree4f9a93e131c59187fd6636b32c53fe6b54203b69 /arch/csky
parent1e9fdf21a4339b102539f476a9842e7526c01939 (diff)
downloadlinux-1d7708e75c49d08392884a08feeebaa3f9d80703.tar.xz
csky/tlb: Remove tlb_flush() define
The previous patch removed the tlb_flush_end() implementation which used tlb_flush_range(). This means: - csky did double invalidates, a range invalidate per vma and a full invalidate at the end - csky actually has range invalidates and as such the generic tlb_flush implementation is more efficient for it. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Will Deacon <will@kernel.org> Tested-by: Guo Ren <guoren@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/csky')
-rw-r--r--arch/csky/include/asm/tlb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/csky/include/asm/tlb.h b/arch/csky/include/asm/tlb.h
index 750d041938d8..702861c68874 100644
--- a/arch/csky/include/asm/tlb.h
+++ b/arch/csky/include/asm/tlb.h
@@ -4,8 +4,6 @@
#define __ASM_CSKY_TLB_H
#include <asm/cacheflush.h>
-#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
-
#include <asm-generic/tlb.h>
#endif /* __ASM_CSKY_TLB_H */