summaryrefslogtreecommitdiffstats
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
parent24a9ab7fa143498802b35c66de10cc3cfdac2c51 (diff)
[XTENSA] Initialize semaphore_wake_lock
Initialize semaphore_wake_lock. Signed-off-by: Chris Zankel <chris@zankel.net>
-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 d40f4b1b75a..995c6410ae1 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: