Commit 24cbfc02 authored by Patrick Mochel's avatar Patrick Mochel

[power] Make CONFIG_ACPI_SLEEP and CONFIG_SOFTWARE_SUSPEND independent.

- Each dependent on CONFIG_PM only.
- From Pavel Machek.
parent 993bb23a
...@@ -829,24 +829,19 @@ config SOFTWARE_SUSPEND ...@@ -829,24 +829,19 @@ config SOFTWARE_SUSPEND
(patch for sysvinit needed). (patch for sysvinit needed).
It creates an image which is saved in your active swaps. By the next It creates an image which is saved in your active swaps. By the next
booting the, pass 'resume=/path/to/your/swap/file' and kernel will booting the, pass 'resume=/dev/swappartition' and kernel will
detect the saved image, restore the memory from detect the saved image, restore the memory from
it and then it continues to run as before you've suspended. it and then it continues to run as before you've suspended.
If you don't want the previous state to continue use the 'noresume' If you don't want the previous state to continue use the 'noresume'
kernel option. However note that your partitions will be fsck'd and kernel option. However note that your partitions will be fsck'd and
you must re-mkswap your swap partitions/files. you must re-mkswap your swap partitions. It does not work with swap
files.
Right now you may boot without resuming and then later resume but Right now you may boot without resuming and then later resume but
in meantime you cannot use those swap partitions/files which were in meantime you cannot use those swap partitions/files which were
involved in suspending. Also in this case there is a risk that buffers involved in suspending. Also in this case there is a risk that buffers
on disk won't match with saved ones. on disk won't match with saved ones.
SMP is supported ``as-is''. There's a code for it but doesn't work.
There have been problems reported relating SCSI.
This option is about getting stable. However there is still some
absence of features.
For more information take a look at Documentation/swsusp.txt. For more information take a look at Documentation/swsusp.txt.
source "drivers/acpi/Kconfig" source "drivers/acpi/Kconfig"
......
...@@ -58,8 +58,8 @@ config ACPI_BOOT ...@@ -58,8 +58,8 @@ config ACPI_BOOT
default y default y
config ACPI_SLEEP config ACPI_SLEEP
bool "Sleep States" bool "Sleep States (EXPERIMENTAL)"
depends on X86 && ACPI && !ACPI_HT_ONLY && SOFTWARE_SUSPEND depends on X86 && ACPI && !ACPI_HT_ONLY && EXPERIMENTAL
---help--- ---help---
This option adds support for ACPI suspend states. This option adds support for ACPI suspend states.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment