Skip to content

Commit 1d7708e

Browse files
Peter Zijlstratorvalds
authored andcommitted
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) <[email protected]> Acked-by: Will Deacon <[email protected]> Tested-by: Guo Ren <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 1e9fdf2 commit 1d7708e

File tree

1 file changed

+0
-2
lines changed
  • arch/csky/include/asm

1 file changed

+0
-2
lines changed

arch/csky/include/asm/tlb.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#define __ASM_CSKY_TLB_H
55

66
#include <asm/cacheflush.h>
7-
#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
8-
97
#include <asm-generic/tlb.h>
108

119
#endif /* __ASM_CSKY_TLB_H */

0 commit comments

Comments
 (0)