* [KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in arch/mips
@ 2007-04-19 9:35 Milind Arun Choudhary
0 siblings, 0 replies; only message in thread
From: Milind Arun Choudhary @ 2007-04-19 9:35 UTC (permalink / raw)
To: Kernel Janitors, MIPS; +Cc: Andrw Morton, LKML, thomas.koeller, ralf
SPIN_LOCK_UNLOCKED cleanup,use DEFINE_SPINLOCK instead
Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
---
excite_setup.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/basler/excite/excite_setup.c b/arch/mips/basler/excite/excite_setup.c
index 42f0eda..2f0e4c0 100644
--- a/arch/mips/basler/excite/excite_setup.c
+++ b/arch/mips/basler/excite/excite_setup.c
@@ -63,7 +63,7 @@ volatile void __iomem * const ocd_base = (void *) (EXCITE_ADDR_OCD);
volatile void __iomem * const titan_base = (void *) (EXCITE_ADDR_TITAN);
/* Protect access to shared GPI registers */
-spinlock_t titan_lock = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(titan_lock);
int titan_irqflags;
--
Milind Arun Choudhary
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-19 9:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-19 9:35 [KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in arch/mips Milind Arun Choudhary
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox