[PATCH] lockdep: add DECLARE_COMPLETION_ONSTACK() API
authorIngo Molnar <mingo@elte.hu>
Mon, 3 Jul 2006 07:24:28 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 3 Jul 2006 22:27:00 +0000 (15:27 -0700)
commit8b3db9c542e18b71d4820da4dd9401ee030feacb
tree93e093fcb0a01b3ee06329e57d92d73d66207edd
parentd7e9629de051bb4b1d104588cd97673ad770809e
[PATCH] lockdep: add DECLARE_COMPLETION_ONSTACK() API

lockdep needs to have the waitqueue lock initialized for on-stack waitqueues
implicitly initialized by DECLARE_COMPLETION().  Introduce the API.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/completion.h