From: Michal Simek Date: Thu, 9 Jul 2009 09:33:39 +0000 (+0200) Subject: microblaze: Define tlb_flush macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=efffde36d20613d91a5ea9529b03f477077f41ea;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git microblaze: Define tlb_flush macro This fix remove bug which we had till now in all Microblaze MMU code. Primary tested on mmap01 LTP test. We forget to flush invalid tlb which were changed - we used them and there were wrong old data which wasn't correct. Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/include/asm/tlb.h b/arch/microblaze/include/asm/tlb.h index c472d2801132..e8abd4a0349c 100644 --- a/arch/microblaze/include/asm/tlb.h +++ b/arch/microblaze/include/asm/tlb.h @@ -11,7 +11,7 @@ #ifndef _ASM_MICROBLAZE_TLB_H #define _ASM_MICROBLAZE_TLB_H -#define tlb_flush(tlb) do {} while (0) +#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm) #include