diff options
author | Michal Simek <monstr@monstr.eu> | 2010-01-12 09:55:10 +0100 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-03-11 14:07:32 +0100 |
commit | 777537905744c28b02c283692e7f75f5445c1afa (patch) | |
tree | 57cde0f7938efaf1eb54b69b9d149c867f714e2c /arch/microblaze/include/asm/tlbflush.h | |
parent | microblaze: Add support for Xilinx PCI host bridge (diff) | |
download | linux-777537905744c28b02c283692e7f75f5445c1afa.tar.xz linux-777537905744c28b02c283692e7f75f5445c1afa.zip |
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 10ec70cd8735..bcb8b41d55af 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(); } |