kernel-ark/drivers
mochel@digitalimplant.org af70316af1 [PATCH] Add a semaphore to struct device to synchronize calls to its driver.
This adds a per-device semaphore that is taken before every call from the core to a
driver method. This prevents e.g. simultaneous calls to the ->suspend() or ->resume()
and ->probe() or ->release(), potentially saving a whole lot of headaches.

It also moves us a step closer to removing the bus rwsem, since it protects the fields
in struct device that are modified by the core.

Signed-off-by: Patrick Mochel <mochel@digitalimplant.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-06-20 15:15:12 -07:00
..
acorn
acpi
atm
base [PATCH] Add a semaphore to struct device to synchronize calls to its driver. 2005-06-20 15:15:12 -07:00
block [PATCH] class: convert drivers/block/* to use the new class api instead of class_simple 2005-06-20 15:15:07 -07:00
bluetooth
cdrom
char [PATCH] fix up ipmi code after class_simple.c removal 2005-06-20 15:15:12 -07:00
cpufreq
crypto
dio
eisa
fc4
firmware
i2c
ide
ieee1394 [PATCH] class: convert drivers/ieee1394/* to use the new class api instead of class_simple 2005-06-20 15:15:08 -07:00
infiniband
input
isdn [PATCH] class: convert drivers/* to use the new class api instead of class_simple 2005-06-20 15:15:09 -07:00
macintosh [PATCH] class: convert drivers/* to use the new class api instead of class_simple 2005-06-20 15:15:09 -07:00
mca
md
media [PATCH] class: convert drivers/* to use the new class api instead of class_simple 2005-06-20 15:15:09 -07:00
message
misc
mmc
mtd
net [PATCH] class: convert drivers/* to use the new class api instead of class_simple 2005-06-20 15:15:09 -07:00
nubus
oprofile
parisc
parport
pci
pcmcia
pnp
s390 [PATCH] class: convert drivers/* to use the new class api instead of class_simple 2005-06-20 15:15:09 -07:00
sbus
scsi [PATCH] class: convert drivers/scsi/* to use the new class api instead of class_simple 2005-06-20 15:15:08 -07:00
serial
sh
sn
tc
telephony
usb [PATCH] USB: trivial error path fix 2005-06-20 15:15:09 -07:00
video [PATCH] class: convert drivers/* to use the new class api instead of class_simple 2005-06-20 15:15:09 -07:00
w1
zorro
Kconfig
Makefile