summaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-06-11 22:03:10 +0200
committerAndi Kleen <andi@basil.nowhere.org>2008-07-16 23:27:02 +0200
commitd20a4dca47d2cd027ed58a13f91b424affd1f449 (patch)
treee84092f7e9dad9857a6997317bcc9399639a10a9 /kernel/power
parentACPI PM: Remove obsolete Toshiba workaround (diff)
downloadlinux-d20a4dca47d2cd027ed58a13f91b424affd1f449.tar.xz
linux-d20a4dca47d2cd027ed58a13f91b424affd1f449.zip
APM emulation: Notify about all suspend events, not just APM invoked ones (v2)
This revamps the apm-emulation code to get suspend notifications regardless of what way pm_suspend() was invoked, whether via the apm ioctl or via /sys/power/state. Also do some code cleanup and add comments while at it. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions