]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
lockdep: fix deadlock in lockdep_trace_alloc
authorPeter Zijlstra <peterz@infradead.org>
Fri, 20 Mar 2009 10:13:20 +0000 (11:13 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 30 Mar 2009 21:19:24 +0000 (23:19 +0200)
commit2f8501815256af8498904e68bd0984b1afffd6f8
treeffc9b4d8d80906fc2743b34dcdc93fdd2294f2c6
parent19cefdffbfe0f7e280f21e80875937e8700e99e2
lockdep: fix deadlock in lockdep_trace_alloc

Heiko reported that we grab the graph lock with irqs enabled.

Fix this by providng the same wrapper as all other lockdep entry
functions have.

Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Nick Piggin <npiggin@suse.de>
LKML-Reference: <1237544000.24626.52.camel@twins>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/lockdep.c