git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
v850
/
kernel
/
semaphore.c
diff --git
a/arch/v850/kernel/semaphore.c
b/arch/v850/kernel/semaphore.c
index
2d20886
..
fc89fd6
100644
(file)
--- a/
arch/v850/kernel/semaphore.c
+++ b/
arch/v850/kernel/semaphore.c
@@
-55,7
+55,7
@@
void __up(struct semaphore *sem)
wake_up(&sem->wait);
}
-static
spinlock_t semaphore_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(semaphore_lock)
;
void __sched __down(struct semaphore * sem)
{