projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24a9ab7
)
[XTENSA] Initialize semaphore_wake_lock
author
Chris Zankel
<chris@zankel.net>
Sun, 5 Aug 2007 18:51:57 +0000
(11:51 -0700)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/arch/xtensa/kernel/semaphore.c
b/arch/xtensa/kernel/semaphore.c
index
d40f4b1
..
995c641
100644
(file)
--- a/
arch/xtensa/kernel/semaphore.c
+++ b/
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: