]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[XTENSA] Initialize semaphore_wake_lock
authorChris Zankel <chris@zankel.net>
Sun, 5 Aug 2007 18:51:57 +0000 (11:51 -0700)
committerChris Zankel <chris@zankel.net>
Mon, 27 Aug 2007 20:53:51 +0000 (13:53 -0700)
Initialize semaphore_wake_lock.

Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/kernel/semaphore.c

index d40f4b1b75acdde5e20b7ca676288fa2fed8d88b..995c6410ae105955d417a921cafb69af061952d0 100644 (file)
@@ -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: