vserver 1.9.5.x5
[linux-2.6.git] / arch / ppc64 / kernel / pmac_nvram.c
index 5ab6cd4..e32a902 100644 (file)
@@ -75,7 +75,7 @@ struct core99_header {
 static volatile unsigned char *nvram_data;
 static int core99_bank = 0;
 // XXX Turn that into a sem
-static spinlock_t nv_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(nv_lock);
 
 extern int system_running;