Thread (28 messages) 28 messages, 7 authors, 2007-03-19

Re: [patch 2/6 -rt] powerpc 2.6.20-rt8: to convert spinlocks to raw ones.

flat view

From: Sergei Shtylyov <hidden>
Date: 2007-03-07 14:38:32
Also in: lkml

Hello.

Tsutomu OWA wrote:
quoted hunk ↗ jump to hunk
--- linux-rt8/arch/powerpc/kernel/irq.c	2007-02-20 14:30:38.000000000 +0900
+++ rt/arch/powerpc/kernel/irq.c	2007-03-05 18:54:34.000000000 +0900
@@ -392,7 +392,7 @@ EXPORT_SYMBOL(do_softirq);
 #ifdef CONFIG_PPC_MERGE
 
 static LIST_HEAD(irq_hosts);
-static spinlock_t irq_big_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_RAW_SPINLOCK(irq_big_lock);
 static DEFINE_PER_CPU(unsigned int, irq_radix_reader);
 static unsigned int irq_radix_writer;
 struct irq_map_entry irq_map[NR_IRQS];
   I've already sent a patch fixing this one (along with many others) a month ago:

http://ozlabs.org/pipermail/linuxppc-dev/2007-February/031164.html

   I wonder iof it was ever considered... :-/

WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help