lockdep: add might_lock() / might_lock_read()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 10 Sep 2008 07:57:35 +0000 (09:57 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 10 Sep 2008 11:48:49 +0000 (13:48 +0200)
commit76b189e91845eab3a9d52bb97f971d312d25652d
tree4ce5a577fc58e055febc942987eea8853f54c7a7
parentf648972e017659c741bdd3be6b4aeb2d73672031
lockdep: add might_lock() / might_lock_read()

useful to establish a lock dependency in case the actual dependency is
rare or hard to trigger.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/lockdep.h