X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fmips%2Fvr4181%2Fcommon%2Ftime.c;h=17814076b6f407b932f1813beeb8f3d86d99919f;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=d2a25c28fc145cc7d0b4a9284fd278affc208c2c;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/mips/vr4181/common/time.c b/arch/mips/vr4181/common/time.c index d2a25c28f..17814076b 100644 --- a/arch/mips/vr4181/common/time.c +++ b/arch/mips/vr4181/common/time.c @@ -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