vserver 1.9.5.x5
[linux-2.6.git] / arch / ppc / platforms / chrp_smp.c
index 863d1e3..0ea1f7d 100644 (file)
@@ -57,7 +57,7 @@ smp_chrp_setup_cpu(int cpu_nr)
                do_openpic_setup_cpu();
 }
 
-static spinlock_t timebase_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(timebase_lock);
 static unsigned int timebase_upper = 0, timebase_lower = 0;
 
 void __devinit