summaryrefslogtreecommitdiff
path: root/arch/microblaze/include
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-01-12 09:55:10 +0100
committerMichal Simek <monstr@monstr.eu>2010-02-25 17:28:38 +0100
commitcca3be53e1bf3023da475551aa825ef244684cc3 (patch)
tree2f393677d1ddb7b5892da479cd2dd37c68f042c6 /arch/microblaze/include
parent17ef1f4fa157a1dddd5ecd71b714f0af011b5d52 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/tlbflush.h b/arch/microblaze/include/asm/tlbflush.h
index eb31a0e8a772..ff5338ef0699 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(); }