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

microblaze: Fix TLB macros

To be able to do trace TLB operations.

Signed-off-by: Michal Simek <monstr@monstr.eu>

+2 -1
+2 -1
arch/microblaze/include/asm/tlbflush.h
··· 24 24 extern void _tlbia(void); 25 25 26 26 #define __tlbia() { preempt_disable(); _tlbia(); preempt_enable(); } 27 + #define __tlbie(x) { _tlbie(x); } 27 28 28 29 static inline void local_flush_tlb_all(void) 29 30 { __tlbia(); } ··· 32 31 { __tlbia(); } 33 32 static inline void local_flush_tlb_page(struct vm_area_struct *vma, 34 33 unsigned long vmaddr) 35 - { _tlbie(vmaddr); } 34 + { __tlbie(vmaddr); } 36 35 static inline void local_flush_tlb_range(struct vm_area_struct *vma, 37 36 unsigned long start, unsigned long end) 38 37 { __tlbia(); }