linux-mips
[Top] [All Lists]

[KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in arch/mips

To: Kernel Janitors <kernel-janitors@lists.osdl.org>, MIPS <linux-mips@linux-mips.org>
Subject: [KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in arch/mips
From: Milind Arun Choudhary <milindchoudhary@gmail.com>
Date: Thu, 19 Apr 2007 15:05:16 +0530
Cc: Andrw Morton <akpm@linux-foundation.org>, LKML <linux-kernel@vger.kernel.org>, thomas.koeller@baslerweb.com, ralf@linux-mips.org
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:mime-version:content-type:content-disposition:user-agent; b=i75iwh4QmXnq6O4XlHDO84RlHIJ1WdUoQVhb43+VZ3qzR3S++za0gIvQALa+FEBVrplMFflgZpfD42OS8OsV4+HRmQY3+hdI2Gm0hO0YGbi3d0tAfVGfCuCY217eWsnHm7RMTD4VrvCZLL00wotk/o0p5lWrL3VGVUGz3DbbcvA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:mime-version:content-type:content-disposition:user-agent; b=j2dxyVeLS3K61wK4OXQR/uk8RL6igC+nGQMdek9MS394X2c4H0yR+//hjMoJpa5EY7iv1JqSqV1Hv14eyLb6t6LHJ+S7tWAeLFY73S6bFbWI52Euo+49Bk32HSV6832ZMmx+mYPny5TYvbca83+wlMyWLOuScWPQ9sYXvmRoTfQ=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.6i
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

<Prev in Thread] Current Thread [Next in Thread>
  • [KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in arch/mips, Milind Arun Choudhary <=