vserver 1.9.5.x5
[linux-2.6.git] / arch / sparc / kernel / semaphore.c
index 77e63b9..0c37c1a 100644 (file)
@@ -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)
 {