Skip to content

Commit

Permalink
[XTENSA] Initialize semaphore_wake_lock
Browse files Browse the repository at this point in the history
Initialize semaphore_wake_lock.

Signed-off-by: Chris Zankel <chris@zankel.net>
  • Loading branch information
Chris Zankel committed Aug 27, 2007
1 parent 24a9ab7 commit 5c1c808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/xtensa/kernel/semaphore.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5c1c808

Please sign in to comment.