소스 검색

[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: