[PATCH] mutex subsystem, semaphore to completion: IDE ->gendev_rel_sem
authorAleksey Makarov <amakarov@ru.mvista.com>
Mon, 9 Jan 2006 23:59:27 +0000 (15:59 -0800)
committerIngo Molnar <mingo@hera.kernel.org>
Mon, 9 Jan 2006 23:59:27 +0000 (15:59 -0800)
commitf36d4024caa3790606e43228a574157c45b73b22
treeeb3d5e39d5fd83731bf608c4a7c424916e68c007
parent3fe0c2776113c24b4b30374003f934cf44280db5
[PATCH] mutex subsystem, semaphore to completion: IDE ->gendev_rel_sem

The patch changes semaphores that are initialized as
locked to complete().

Source: MontaVista Software, Inc.

Modified-by: Steven Rostedt <rostedt@goodmis.org>
The following patch is from Montavista.  I modified it slightly.
Semaphores are currently being used where it makes more sense for
completions.  This patch corrects that.

Signed-off-by: Aleksey Makarov <amakarov@ru.mvista.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/ide/ide-probe.c
drivers/ide/ide.c
include/linux/ide.h