diff options
author | Chris Zankel <chris@zankel.net> | 2007-08-05 20:51:57 +0200 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2007-08-27 22:53:51 +0200 |
commit | 5c1c8085b5dc30ae4ff0ee54039e387ed59262bf (patch) | |
tree | 24a042ce4bc18e5e999d6ead04e1eb248c30704a /arch | |
parent | [XTENSA] Add typecast macro for constants (diff) | |
download | linux-5c1c8085b5dc30ae4ff0ee54039e387ed59262bf.tar.xz linux-5c1c8085b5dc30ae4ff0ee54039e387ed59262bf.zip |
[XTENSA] Initialize semaphore_wake_lock
Initialize semaphore_wake_lock.
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch')
-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 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: |