提交 1d7708e7 编写于 作者: P Peter Zijlstra 提交者: Linus Torvalds

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: NPeter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: NWill Deacon <will@kernel.org>
Tested-by: NGuo Ren <guoren@kernel.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 1e9fdf21
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
#define __ASM_CSKY_TLB_H #define __ASM_CSKY_TLB_H
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
#include <asm-generic/tlb.h> #include <asm-generic/tlb.h>
#endif /* __ASM_CSKY_TLB_H */ #endif /* __ASM_CSKY_TLB_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册