]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
lockdep debugging: give stacktrace for init_error
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 19 Jul 2007 08:49:02 +0000 (01:49 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:49 +0000 (10:04 -0700)
commitc71063c9c9dc232d0d51f936f237f7dc5681e8e3
tree3f56b9e12c86b2afe9e613e868001654240aabb7
parentd38e1d5aaee384698fcef9455d6e2df1d062a1d0
lockdep debugging: give stacktrace for init_error

When I started adding support for lockdep to 64-bit powerpc, I got a
lockdep_init_error and with this patch was able to pinpoint why and where
to put lockdep_init().  Let's support this generally for others adding
lockdep support to their architecture.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/lockdep.c