diff options
author | Chris Zankel <chris@zankel.net> | 2007-08-05 18:51:57 (GMT) |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2007-08-27 20:53:51 (GMT) |
commit | 5c1c8085b5dc30ae4ff0ee54039e387ed59262bf (patch) | |
tree | 24a042ce4bc18e5e999d6ead04e1eb248c30704a | |
parent | 24a9ab7fa143498802b35c66de10cc3cfdac2c51 (diff) | |
download | linux-fsl-qoriq-5c1c8085b5dc30ae4ff0ee54039e387ed59262bf.tar.xz |
[XTENSA] Initialize semaphore_wake_lock
Initialize semaphore_wake_lock.
Signed-off-by: Chris Zankel <chris@zankel.net>
-rw-r--r-- | arch/xtensa/kernel/semaphore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/kernel/semaphore.c b/arch/xtensa/kernel/semaphore.c index d40f4b1..995c641 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: |