diff options
author | Michal Simek <monstr@monstr.eu> | 2010-01-12 03:55:10 -0500 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-03-11 08:07:32 -0500 |
commit | 777537905744c28b02c283692e7f75f5445c1afa (patch) | |
tree | 57cde0f7938efaf1eb54b69b9d149c867f714e2c /arch/microblaze/include | |
parent | 733cc2183116b216abb52e709709bb0e626c9a75 (diff) |
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')
-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 10ec70cd8735..bcb8b41d55af 100644 --- a/arch/microblaze/include/asm/tlbflush.h +++ b/arch/microblaze/include/asm/tlbflush.h | |||
@@ -23,7 +23,7 @@ | |||
23 | extern void _tlbie(unsigned long address); | 23 | extern void _tlbie(unsigned long address); |
24 | extern void _tlbia(void); | 24 | extern void _tlbia(void); |
25 | 25 | ||
26 | #define __tlbia() _tlbia() | 26 | #define __tlbia() { preempt_disable(); _tlbia(); preempt_enable(); } |
27 | 27 | ||
28 | static inline void local_flush_tlb_all(void) | 28 | static inline void local_flush_tlb_all(void) |
29 | { __tlbia(); } | 29 | { __tlbia(); } |