]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
lockdep: update lockdep_recursion on graph_lock
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 12 May 2008 19:21:00 +0000 (21:21 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 19:50:21 +0000 (21:50 +0200)
commitbb065afb8ebd07a03155502dba29ebf0f6fe67e8
treeaa32a9461cd38f336797cfba4d07c58789a6f1be
parenta98a3c3fde3ae7614f19758a043691b6f59dac53
lockdep: update lockdep_recursion on graph_lock

With the introduction of ftrace, it is possible to recurse into
the lockdep functions via the mcount call. To prevent possible
lockups, updating the lockdep_recursion counter on grabbing the internal
lockdep_lock should prevent deadlocks.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/lockdep.c