From: Ingo Molnar Teach special (recursive) locking code to the lock validator. Has no effect on non-lockdep kernels. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton --- kernel/hrtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/hrtimer.c~lock-validator-special-locking-hrtimerc kernel/hrtimer.c --- devel/kernel/hrtimer.c~lock-validator-special-locking-hrtimerc 2006-05-29 18:13:23.000000000 -0700 +++ devel-akpm/kernel/hrtimer.c 2006-05-29 18:13:23.000000000 -0700 @@ -792,7 +792,7 @@ static void __devinit init_hrtimers_cpu( int i; for (i = 0; i < MAX_HRTIMER_BASES; i++, base++) - spin_lock_init(&base->lock); + spin_lock_init_static(&base->lock); } #ifdef CONFIG_HOTPLUG_CPU _