浏览代码

[XTENSA] Initialize semaphore_wake_lock

Initialize semaphore_wake_lock.

Signed-off-by: Chris Zankel <chris@zankel.net>
Chris Zankel 18 年之前
父节点
当前提交
5c1c8085b5
共有 1 个文件被更改,包括 1 次插入1 次删除
  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: