aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/spu_base.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-04-29 12:10:39 -0400
committerPaul Mackerras <paulus@samba.org>2007-04-29 21:02:06 -0400
commit057b184a007376562e905aa39f1ba352fb8d78b1 (patch)
treef7cd89d7ac5bbcab57ecfa097004c030565718c7 /arch/powerpc/platforms/cell/spu_base.c
parentf139efedb8d34904cf8ea30b174c3ee57204d114 (diff)
[POWERPC] Spinlock initializer cleanup
Use DEFINE_SPINLOCK instead of initializing spinlocks to SPIN_LOCK_UNLOCKED, since DEFINE_SPINLOCK is better for lockdep. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spu_base.c')
-rw-r--r--arch/powerpc/platforms/cell/spu_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spu_base.c b/arch/powerpc/platforms/cell/spu_base.c
index 8086eb1ed60d..fec51525252e 100644
--- a/arch/powerpc/platforms/cell/spu_base.c
+++ b/arch/powerpc/platforms/cell/spu_base.c
@@ -43,7 +43,7 @@ const struct spu_priv1_ops *spu_priv1_ops;
43static struct list_head spu_list[MAX_NUMNODES]; 43static struct list_head spu_list[MAX_NUMNODES];
44static LIST_HEAD(spu_full_list); 44static LIST_HEAD(spu_full_list);
45static DEFINE_MUTEX(spu_mutex); 45static DEFINE_MUTEX(spu_mutex);
46static spinlock_t spu_list_lock = SPIN_LOCK_UNLOCKED; 46static DEFINE_SPINLOCK(spu_list_lock);
47 47
48EXPORT_SYMBOL_GPL(spu_priv1_ops); 48EXPORT_SYMBOL_GPL(spu_priv1_ops);
49 49