vserver 1.9.5.x5
[linux-2.6.git] / arch / mips / vr4181 / common / time.c
index d2a25c2..1781407 100644 (file)
@@ -29,7 +29,7 @@
  * RTC ops
  */
 
-spinlock_t rtc_lock = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(rtc_lock);
 
 /* per VR41xx docs, bad data can be read if between 2 counts */
 static inline unsigned short