Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Peter Zijlstra and committed by
Linus Torvalds
1d7708e7 1e9fdf21

-2
-2
arch/csky/include/asm/tlb.h
··· 4 4 #define __ASM_CSKY_TLB_H 5 5 6 6 #include <asm/cacheflush.h> 7 - #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm) 8 - 9 7 #include <asm-generic/tlb.h> 10 8 11 9 #endif /* __ASM_CSKY_TLB_H */