mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] unified spinlock initialization arch/mips/kernel/irq.c
@ 2005-01-25 11:34 Amit Gud
  2005-01-25 13:43 ` [KJ] " Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: Amit Gud @ 2005-01-25 11:34 UTC (permalink / raw)
  To: ralf; +Cc: linux-kernel, kernel-janitors, gud

Unify the spinlock initialization as far as possible.

Do consider applying.

Signed-off-by: Amit Gud <gud@eth.net>

--- orig/arch/mips/kernel/irq.c	2005-01-20 20:06:12.000000000 +0530
+++ linux-2.6.11-rc2/arch/mips/kernel/irq.c	2005-01-25 15:29:35.000000000 +0530
@@ -125,7 +125,7 @@ void __init init_IRQ(void)
 		irq_desc[i].action  = NULL;
 		irq_desc[i].depth   = 1;
 		irq_desc[i].handler = &no_irq_type;
-		irq_desc[i].lock = SPIN_LOCK_UNLOCKED;
+		spin_lock_init(&irq_desc[i].lock);
 	}
 
 	arch_init_irq();


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

end of thread, other threads:[~2005-01-25 13:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-25 11:34 [PATCH] unified spinlock initialization arch/mips/kernel/irq.c Amit Gud
2005-01-25 13:43 ` [KJ] " Matthew Wilcox

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

all inboxes | Powered by JetHome®