vserver 1.9.5.x5
[linux-2.6.git] / arch / sparc / prom / misc.c
index 5c7aa0c..c840c20 100644 (file)
@@ -16,7 +16,7 @@
 
 extern void restore_current(void);
 
-spinlock_t prom_lock = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(prom_lock);
 
 /* Reset and reboot the machine with the command 'bcommand'. */
 void