Skip to content

Commit

Permalink
PM: Separate suspend to RAM functionality from core
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rafael J. Wysocki committed Jun 12, 2009
1 parent 783ea7d commit a9d7052
Show file tree
Hide file tree
Showing 5 changed files with 505 additions and 504 deletions.
2 changes: 2 additions & 0 deletions kernel/power/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ endif
obj-$(CONFIG_PM) += main.o
obj-$(CONFIG_PM_SLEEP) += console.o
obj-$(CONFIG_FREEZER) += process.o
obj-$(CONFIG_SUSPEND) += suspend.o
obj-$(CONFIG_PM_TEST_SUSPEND) += suspend_test.o
obj-$(CONFIG_HIBERNATION) += swsusp.o disk.o snapshot.o swap.o user.o

obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o
Loading

0 comments on commit a9d7052

Please sign in to comment.