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
/
sparc
/
kernel
/
semaphore.c
diff --git
a/arch/sparc/kernel/semaphore.c
b/arch/sparc/kernel/semaphore.c
index
77e63b9
..
0c37c1a
100644
(file)
--- a/
arch/sparc/kernel/semaphore.c
+++ b/
arch/sparc/kernel/semaphore.c
@@
-44,7
+44,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)
{