Browse Source

[XTENSA] Initialize semaphore_wake_lock

Initialize semaphore_wake_lock.

Signed-off-by: Chris Zankel <chris@zankel.net>
Chris Zankel 18 năm trước cách đây
mục cha
commit
5c1c8085b5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      arch/xtensa/kernel/semaphore.c

+ 1 - 1
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: