From: Peter Zijlstra Date: Fri, 8 Jul 2022 07:18:04 +0000 (+0200) Subject: csky/tlb: Remove tlb_flush() define X-Git-Tag: howlett/maple/20220816~340 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1d7708e75c49d08392884a08feeebaa3f9d80703;p=users%2Fjedix%2Flinux-maple.git 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) Acked-by: Will Deacon Tested-by: Guo Ren Signed-off-by: Linus Torvalds --- 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 -#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm) - #include #endif /* __ASM_CSKY_TLB_H */