public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -rt] ARM TLB flush fix: don't forget to re-enable preemption
@ 2007-05-22 23:01 Kevin Hilman
  2007-05-22 23:25 ` Daniel Walker
  2007-05-23  3:39 ` Thomas Gleixner
  0 siblings, 2 replies; 11+ messages in thread
From: Kevin Hilman @ 2007-05-22 23:01 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel

Add a preempt_enable() to flush_tlb_kernel_page() since -rt4 patch
adds a preempt_disable but no preempt_enable().

Signed-off-by: Kevin Hilman <khilman@mvista.com>


---
 include/asm-arm/tlbflush.h |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6.21/include/asm-arm/tlbflush.h
===================================================================
--- linux-2.6.21.orig/include/asm-arm/tlbflush.h
+++ linux-2.6.21/include/asm-arm/tlbflush.h
@@ -378,6 +378,7 @@ static inline void local_flush_tlb_kerne
 		asm("mcr p15, 0, %0, c8, c6, 1" : : "r" (kaddr) : "cc");
 	if (tlb_flag(TLB_V6_I_PAGE))
 		asm("mcr p15, 0, %0, c8, c5, 1" : : "r" (kaddr) : "cc");
+	preempt_enable();
 
 	if (tlb_flag(TLB_V6_I_FULL | TLB_V6_D_FULL |
 		     TLB_V6_I_PAGE | TLB_V6_D_PAGE |
--

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-05-24  0:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-22 23:01 [PATCH -rt] ARM TLB flush fix: don't forget to re-enable preemption Kevin Hilman
2007-05-22 23:25 ` Daniel Walker
2007-05-22 23:41   ` Kevin Hilman
2007-05-22 23:48     ` Daniel Walker
2007-05-23  9:22     ` Russell King
2007-05-23 16:13       ` Kevin Hilman
2007-05-23 16:25         ` Russell King
2007-05-23 17:31           ` Kevin Hilman
2007-05-23 16:30         ` Daniel Walker
2007-05-23  3:39 ` Thomas Gleixner
2007-05-24  0:41   ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox