]> git.baikalelectronics.ru Git - kernel.git/commit
PM: Split up sysdev_[suspend|resume] from device_power_[down|up]
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 22 Feb 2009 17:38:50 +0000 (18:38 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 22 Feb 2009 18:33:44 +0000 (10:33 -0800)
commitc1aec256d256e086027b993d9f3a750751f1c781
tree2fbeef604fe982bf322249a53a95dd2ff851d5f4
parentcf88480eddc73f3450afceae11ceaa765fe03c63
PM: Split up sysdev_[suspend|resume] from device_power_[down|up]

Move the sysdev_suspend/resume from the callee to the callers, with
no real change in semantics, so that we can rework the disabling of
interrupts during suspend/hibernation.

This is based on an earlier patch from Linus.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/apm_32.c
drivers/base/base.h
drivers/base/power/main.c
drivers/xen/manage.c
include/linux/pm.h
kernel/kexec.c
kernel/power/disk.c
kernel/power/main.c