android_kernel_xiaomi_sm8350/kernel/power
Rafael J. Wysocki 33f1d7ecc6 PM: Fix freezer compilation if PM_SLEEP is unset
Freezer fails to compile if with the following configuration
settings:

CONFIG_CGROUPS=y
CONFIG_CGROUP_FREEZER=y
CONFIG_MODULES=y
CONFIG_FREEZER=y
CONFIG_PM=y
CONFIG_PM_SLEEP=n

Fix this by making process.o compilation depend on CONFIG_FREEZER.

Reported-by: Cheng Renquan <crquan@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
2009-01-16 14:32:17 -05:00
..
console.c
disk.c Merge branch 'linus' into release 2009-01-09 03:39:43 -05:00
Kconfig
main.c pm: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:39 -08:00
Makefile PM: Fix freezer compilation if PM_SLEEP is unset 2009-01-16 14:32:17 -05:00
power.h
poweroff.c cpumask: convert rest of files in kernel/ 2009-01-01 10:12:28 +10:30
process.c
snapshot.c Hibernate: Replace unnecessary evaluation of pfn_to_page() 2008-12-19 04:40:35 -05:00
swap.c [PATCH] kill obsolete temporary comment in swsusp_close() 2008-12-04 04:22:54 -05:00
swsusp.c ACPI hibernate: Add a mechanism to save/restore ACPI NVS memory 2008-12-19 04:40:34 -05:00
user.c