[PATCH] lockdep: annotate on-stack completions, mmc
authorIngo Molnar <mingo@elte.hu>
Mon, 3 Jul 2006 07:25:35 +0000 (00:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 3 Jul 2006 22:27:10 +0000 (15:27 -0700)
commit0afffc723c8041a005134099847ac2a2fd0316a0
tree2c79415220c712a61f27d4a233a692d6afca1725
parent5dd8d1e9eb8b51041505966fe96d081ecbe86efe
[PATCH] lockdep: annotate on-stack completions, mmc

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

Annotate mmc_wait_for_req()'s on-stack completion accordingly.

Has no effect on non-lockdep kernels.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/mmc/mmc.c