PM: Separate suspend to RAM functionality from core
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 9 Jun 2009 23:27:12 +0000 (01:27 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 12 Jun 2009 19:32:33 +0000 (21:32 +0200)
commita9d7052363a6e06bb623ed1876c56c7ca5b2c6d8
treec4ec7fb30dc4510596ffc9ddffe308ef34837af2
parent783ea7d4eeefe895f2731fe73ac951e94418927b
PM: Separate suspend to RAM functionality from core

Move the suspend to RAM and standby code from kernel/power/main.c
to two separate files, kernel/power/suspend.c containing the basic
functions and kernel/power/suspend_test.c containing the automatic
suspend test facility based on the RTC clock alarm.

There are no changes in functionality related to these modifications.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
kernel/power/Makefile
kernel/power/main.c
kernel/power/power.h
kernel/power/suspend.c [new file with mode: 0644]
kernel/power/suspend_test.c [new file with mode: 0644]