tmp_suning_uos_patched/drivers/base
Rafael J. Wysocki 8bb7844286 Add suspend-related notifications for CPU hotplug
Since nonboot CPUs are now disabled after tasks and devices have been
frozen and the CPU hotplug infrastructure is used for this purpose, we need
special CPU hotplug notifications that will help the CPU-hotplug-aware
subsystems distinguish normal CPU hotplug events from CPU hotplug events
related to a system-wide suspend or resume operation in progress.  This
patch introduces such notifications and causes them to be used during
suspend and resume transitions.  It also changes all of the
CPU-hotplug-aware subsystems to take these notifications into consideration
(for now they are handled in the same way as the corresponding "normal"
ones).

[oleg@tv-sign.ru: cleanups]
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Gautham R Shenoy <ego@in.ibm.com>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-09 12:30:56 -07:00
..
power remove "struct subsystem" as it is no longer needed 2007-05-02 18:57:59 -07:00
attribute_container.c drivers/base/attribute_container.c: use mutex instead of binary semaphore 2007-04-27 10:57:34 -07:00
base.h remove "struct subsystem" as it is no longer needed 2007-05-02 18:57:59 -07:00
bus.c remove "struct subsystem" as it is no longer needed 2007-05-02 18:57:59 -07:00
class.c remove "struct subsystem" as it is no longer needed 2007-05-02 18:57:59 -07:00
core.c remove "struct subsystem" as it is no longer needed 2007-05-02 18:57:59 -07:00
cpu.c Replace remaining references to "driverfs" with "sysfs". 2007-02-17 19:13:42 +01:00
dd.c PCI: remove the broken PCI_MULTITHREAD_PROBE option 2007-05-02 19:02:38 -07:00
devres.c devres: device resource management 2007-02-09 17:39:36 -05:00
dma-mapping.c devres: device resource management 2007-02-09 17:39:36 -05:00
dmapool.c Driver core: use mutex instead of semaphore in DMA pool handler 2007-04-27 10:57:32 -07:00
driver.c Driver core: remove unneeded completion from driver release path 2007-04-27 10:57:29 -07:00
firmware_class.c Driver core: switch firmware_class to uevent_suppress. 2007-04-27 10:57:29 -07:00
firmware.c remove "struct subsystem" as it is no longer needed 2007-05-02 18:57:59 -07:00
hypervisor.c
init.c
isa.c
Kconfig devres: device resource management 2007-02-09 17:39:36 -05:00
Makefile Introduce CONFIG_HAS_DMA 2007-05-07 12:12:51 -07:00
map.c
memory.c
node.c Replace remaining references to "driverfs" with "sysfs". 2007-02-17 19:13:42 +01:00
platform.c fix hotplug for legacy platform drivers 2007-05-08 11:15:10 -07:00
sys.c remove "struct subsystem" as it is no longer needed 2007-05-02 18:57:59 -07:00
topology.c Add suspend-related notifications for CPU hotplug 2007-05-09 12:30:56 -07:00
transport_class.c