]> err.no Git - linux-2.6/blobdiff - kernel/timer.c
[PATCH] lockdep: annotate mm
[linux-2.6] / kernel / timer.c
index 5a8960253063d00495366a48d92e06e5eb4133fa..4dd9a10d67d0379bcc70ff418007613db1536724 100644 (file)
@@ -1208,7 +1208,7 @@ unsigned long wall_jiffies = INITIAL_JIFFIES;
  * playing with xtime and avenrun.
  */
 #ifndef ARCH_HAVE_XTIME_LOCK
-seqlock_t xtime_lock __cacheline_aligned_in_smp = SEQLOCK_UNLOCKED;
+__cacheline_aligned_in_smp DEFINE_SEQLOCK(xtime_lock);
 
 EXPORT_SYMBOL(xtime_lock);
 #endif