Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5c1c8085b5dc30ae4ff0ee54039e387ed59262bf Commit: 5c1c8085b5dc30ae4ff0ee54039e387ed59262bf Parent: 24a9ab7fa143498802b35c66de10cc3cfdac2c51 Author: Chris Zankel <[EMAIL PROTECTED]> AuthorDate: Sun Aug 5 11:51:57 2007 -0700 Committer: Chris Zankel <[EMAIL PROTECTED]> CommitDate: Mon Aug 27 13:53:51 2007 -0700
[XTENSA] Initialize semaphore_wake_lock Initialize semaphore_wake_lock. Signed-off-by: Chris Zankel <[EMAIL PROTECTED]> --- 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: - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html