lockdep: Introduce lockdep_assert_held()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 20 Jul 2009 17:16:29 +0000 (19:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 2 Aug 2009 13:41:34 +0000 (15:41 +0200)
commitf607c6685774811b8112e124f10a053d77015485
tree4d32d967c8f8fb37ae09319735062a131a91725b
parent98c33eddaf41d225d99b40f9eedbd0fac4c08c05
lockdep: Introduce lockdep_assert_held()

Add a lockdep helper to validate that we indeed are the owner
of a lock.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/lockdep.h
kernel/lockdep.c
kernel/sched.c