diff options
author | Michal Simek <monstr@monstr.eu> | 2010-01-12 08:55:10 (GMT) |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-03-11 13:07:32 (GMT) |
commit | 777537905744c28b02c283692e7f75f5445c1afa (patch) | |
tree | 57cde0f7938efaf1eb54b69b9d149c867f714e2c /arch/microblaze/include/asm/tlbflush.h | |
parent | 733cc2183116b216abb52e709709bb0e626c9a75 (diff) | |
download | linux-fsl-qoriq-777537905744c28b02c283692e7f75f5445c1afa.tar.xz |
microblaze: Add support from PREEMPT
This patch add core PREEMPT support for Microblaze.
I tried to trace it via tracers and I was able to see any output.
I also added low level debug functions to see if that code is called.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/tlbflush.h')
-rw-r--r-- | arch/microblaze/include/asm/tlbflush.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/tlbflush.h b/arch/microblaze/include/asm/tlbflush.h index 10ec70c..bcb8b41 100644 --- a/arch/microblaze/include/asm/tlbflush.h +++ b/arch/microblaze/include/asm/tlbflush.h @@ -23,7 +23,7 @@ extern void _tlbie(unsigned long address); extern void _tlbia(void); -#define __tlbia() _tlbia() +#define __tlbia() { preempt_disable(); _tlbia(); preempt_enable(); } static inline void local_flush_tlb_all(void) { __tlbia(); } |