diff options
author | Len Brown <len.brown@intel.com> | 2007-07-24 02:25:03 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-24 02:25:03 -0400 |
commit | 7c5aa6642fa26641ebf286966a165aec71c91991 (patch) | |
tree | 6aa44fb98e1fd999eb0df1f5286aab9bbeff39ac /drivers/acpi | |
parent | 43532c8a46ae313c2da3baa7598a1de4d403ba83 (diff) |
ACPI: Kconfig: always enable CONFIG_ACPI_SLEEP on X86
The SMP dependency on HOTPLUG_CPU and SUSPEND_SMP
caused more harm than good -- making ACPI sleep
support vanish for configs missing those options.
So simply select them on the (ACPI && SMP && X86) systems
that need them.
Also, remove the prompt for ACPI_SLEEP,
virtually nobody (intentionally) enables ACPI without it.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/Kconfig | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index efd47eeb5b63..524cbf151fc2 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
@@ -43,24 +43,11 @@ menuconfig ACPI | |||
43 | if ACPI | 43 | if ACPI |
44 | 44 | ||
45 | config ACPI_SLEEP | 45 | config ACPI_SLEEP |
46 | bool "Sleep States" | 46 | bool |
47 | depends on X86 && (!SMP || SUSPEND_SMP) | 47 | depends on X86 |
48 | select HOTPLUG_CPU if SMP | ||
49 | select SUSPEND_SMP if SMP | ||
48 | default y | 50 | default y |
49 | ---help--- | ||
50 | This option adds support for ACPI suspend states. | ||
51 | |||
52 | With this option, you will be able to put the system "to sleep". | ||
53 | Sleep states are low power states for the system and devices. All | ||
54 | of the system operating state is saved to either memory or disk | ||
55 | (depending on the state), to allow the system to resume operation | ||
56 | quickly at your request. | ||
57 | |||
58 | Although this option sounds really nifty, barely any of the device | ||
59 | drivers have been converted to the new driver model and hence few | ||
60 | have proper power management support. | ||
61 | |||
62 | This option is not recommended for anyone except those doing driver | ||
63 | power management development. | ||
64 | 51 | ||
65 | config ACPI_PROCFS | 52 | config ACPI_PROCFS |
66 | bool "Deprecated /proc/acpi files" | 53 | bool "Deprecated /proc/acpi files" |