diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-01-15 23:17:00 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-01 18:30:58 -0500 |
commit | b28f508112c584cdfbb4d8a9489cc4b79dac68ee (patch) | |
tree | 8269d53055d0368f6eb25fac6b9d29077382cbca /kernel/power/Kconfig | |
parent | c9b6c8f68ee48e1e3dbb53e13316757e2c0b584d (diff) |
Suspend: Add config option to disable the freezer if architecture wants that
This patch makes the freezer optional for suspend to allow the
system to work (or not work) like the original PMU suspend.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel/power/Kconfig')
-rw-r--r-- | kernel/power/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index f8153fda06b..ef9b802738a 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig | |||
@@ -104,6 +104,17 @@ config SUSPEND | |||
104 | powered and thus its contents are preserved, such as the | 104 | powered and thus its contents are preserved, such as the |
105 | suspend-to-RAM state (e.g. the ACPI S3 state). | 105 | suspend-to-RAM state (e.g. the ACPI S3 state). |
106 | 106 | ||
107 | config SUSPEND_FREEZER | ||
108 | bool "Enable freezer for suspend to RAM/standby" \ | ||
109 | if ARCH_WANTS_FREEZER_CONTROL || BROKEN | ||
110 | depends on SUSPEND | ||
111 | default y | ||
112 | help | ||
113 | This allows you to turn off the freezer for suspend. If this is | ||
114 | done, no tasks are frozen for suspend to RAM/standby. | ||
115 | |||
116 | Turning OFF this setting is NOT recommended! If in doubt, say Y. | ||
117 | |||
107 | config HIBERNATION | 118 | config HIBERNATION |
108 | bool "Hibernation (aka 'suspend to disk')" | 119 | bool "Hibernation (aka 'suspend to disk')" |
109 | depends on PM && SWAP && ARCH_HIBERNATION_POSSIBLE | 120 | depends on PM && SWAP && ARCH_HIBERNATION_POSSIBLE |