mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
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 <monstr@monstr.eu>
This commit is contained in:
parent
4be3bd7849
commit
efffde36d2
@ -11,7 +11,7 @@
|
|||||||
#ifndef _ASM_MICROBLAZE_TLB_H
|
#ifndef _ASM_MICROBLAZE_TLB_H
|
||||||
#define _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>
|
#include <asm-generic/tlb.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user