summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2007-08-05 11:51:57 -0700
committerChris Zankel <chris@zankel.net>2007-08-27 13:53:51 -0700
commit5c1c8085b5dc30ae4ff0ee54039e387ed59262bf (patch)
tree24a042ce4bc18e5e999d6ead04e1eb248c30704a /arch/xtensa
parent24a9ab7fa143498802b35c66de10cc3cfdac2c51 (diff)
downloadtalos-obmc-linux-5c1c8085b5dc30ae4ff0ee54039e387ed59262bf.tar.gz
talos-obmc-linux-5c1c8085b5dc30ae4ff0ee54039e387ed59262bf.zip
[XTENSA] Initialize semaphore_wake_lock
Initialize semaphore_wake_lock. Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/kernel/semaphore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/kernel/semaphore.c b/arch/xtensa/kernel/semaphore.c
index d40f4b1b75ac..995c6410ae10 100644
--- a/arch/xtensa/kernel/semaphore.c
+++ b/arch/xtensa/kernel/semaphore.c
@@ -100,7 +100,7 @@ static __inline__ int waking_non_zero_trylock(struct semaphore *sem)
return ret;
}
-spinlock_t semaphore_wake_lock;
+DEFINE_SPINLOCK(semaphore_wake_lock);
/*
* Semaphores are implemented using a two-way counter:
OpenPOWER on IntegriCloud