]> git.baikalelectronics.ru Git - kernel.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)
commit432facb2705451e6b44eb2885e442b8c31567324
treeffc9b4d8d80906fc2743b34dcdc93fdd2294f2c6
parenteae0e6956d5c6ad047f19857165b70b2afdcedfe
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