]> err.no Git - linux-2.6/blobdiff - arch/arm/kernel/time.c
x86: printk kernel version in WARN_ON and other dump_stack users
[linux-2.6] / arch / arm / kernel / time.c
index d0540e4eaf5b328d9f8a248df8a40647add6d03b..1533d3ecd7a05b71b559f56356560a37daabefcf 100644 (file)
@@ -512,7 +512,7 @@ void __init time_init(void)
 
 #ifdef CONFIG_NO_IDLE_HZ
        if (system_timer->dyn_tick)
-               system_timer->dyn_tick->lock = SPIN_LOCK_UNLOCKED;
+               spin_lock_init(&system_timer->dyn_tick->lock);
 #endif
 }