Files
kernel/include/linux
Ingo Molnar 99a3eb3845 [PATCH] lockdep: fix seqlock_init()
seqlock_init() needs to use spin_lock_init() for dynamic locks, so that
lockdep is notified about the presence of a new lock.

(this is a fallout of the recent networking merge, which started using
the so-far unused seqlock_init() API.)

This fix solves the following lockdep-internal warning on current -git:

 INFO: trying to register non-static key.
 the code is fine but needs lockdep annotation.
 turning off the locking correctness validator.
     __lock_acquire+0x10c/0x9f9
     lock_acquire+0x56/0x72
     _spin_lock+0x35/0x42
     neigh_destroy+0x9d/0x12e
     neigh_periodic_timer+0x10a/0x15c
     run_timer_softirq+0x126/0x18e
     __do_softirq+0x6b/0xe6
     do_softirq+0x64/0xd2
     ksoftirqd+0x82/0x138

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-12 08:10:44 -08:00
..
2006-12-08 08:28:47 -08:00
2006-12-08 08:28:57 -08:00
2006-12-06 20:14:22 -08:00
2006-12-08 08:28:39 -08:00
2006-12-12 10:22:23 +01:00
2006-12-07 08:39:37 -08:00
2006-12-07 08:39:20 -08:00
2006-12-08 08:28:39 -08:00
2006-12-06 18:38:54 -08:00
2006-12-11 14:35:00 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:32 -08:00
2006-12-10 09:55:41 -08:00
2006-12-07 08:39:21 -08:00
2006-12-08 10:43:19 -08:00
2006-12-12 10:22:23 +01:00
2006-12-07 08:39:47 -08:00
2006-12-07 08:39:47 -08:00
2006-12-07 08:39:47 -08:00
2006-12-08 08:28:57 -08:00
2006-12-10 09:55:41 -08:00
2006-12-10 09:57:22 -08:00
2006-12-08 08:28:39 -08:00
2006-12-06 10:46:38 -05:00
2006-12-07 02:14:01 +01:00
2006-12-08 08:28:52 -08:00
2006-12-07 08:39:36 -08:00
2006-12-07 08:39:25 -08:00
2006-12-10 09:55:40 -08:00
2006-12-12 08:10:44 -08:00
2006-12-07 08:39:35 -08:00
2006-12-08 08:28:57 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:20 -08:00
2006-12-10 09:57:22 -08:00