aha/drivers/base
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
..
power [PATCH] Add a semaphore to struct device to synchronize calls to its driver. 2005-06-20 15:15:12 -07:00
attribute_container.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
base.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bus.c [PATCH] Add a semaphore to struct device to synchronize calls to its driver. 2005-06-20 15:15:12 -07:00
class.c [PATCH] class: add kerneldoc for the new class functions. 2005-06-20 15:15:11 -07:00
core.c [PATCH] Add a semaphore to struct device to synchronize calls to its driver. 2005-06-20 15:15:12 -07:00
cpu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dmapool.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
driver.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
firmware.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
firmware_class.c [PATCH] add TIMEOUT to firmware_class hotplug event 2005-04-18 21:57:31 -07:00
init.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] class: remove class_simple code, as no one in the tree is using it anymore. 2005-06-20 15:15:11 -07:00
map.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
node.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
platform.c [PATCH] DocBook: fix some descriptions 2005-05-01 08:59:26 -07:00
sys.c [PATCH] sysfs: (driver/base) if show/store is missing return -EIO 2005-06-20 15:15:02 -07:00
transport_class.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00