[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 d40f4b1..995c641 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: