Skip to content

Commit a9d7052

Browse files
committed
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>
1 parent 783ea7d commit a9d7052

File tree

5 files changed

+505
-504
lines changed

5 files changed

+505
-504
lines changed

kernel/power/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ endif
66
obj-$(CONFIG_PM) += main.o
77
obj-$(CONFIG_PM_SLEEP) += console.o
88
obj-$(CONFIG_FREEZER) += process.o
9+
obj-$(CONFIG_SUSPEND) += suspend.o
10+
obj-$(CONFIG_PM_TEST_SUSPEND) += suspend_test.o
911
obj-$(CONFIG_HIBERNATION) += swsusp.o disk.o snapshot.o swap.o user.o
1012

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

0 commit comments

Comments
 (0)