microblaze: Define tlb_flush macro
authorMichal Simek <monstr@monstr.eu>
Thu, 9 Jul 2009 09:33:39 +0000 (11:33 +0200)
committerMichal Simek <monstr@monstr.eu>
Mon, 27 Jul 2009 05:39:53 +0000 (07:39 +0200)
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 <monstr@monstr.eu>
arch/microblaze/include/asm/tlb.h

index c472d280113285780afb447948ff543bb6a57fd9..e8abd4a0349c381f45d1daeb7972db0235fd3e12 100644 (file)
@@ -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 <asm-generic/tlb.h>