diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-12-07 20:14:00 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-01 18:30:55 -0500 |
commit | f4cb57007662a4ec3c2de3c027900223e0299bdd (patch) | |
tree | ec0c277f3cae26594714c458ad40b1e0e5aca484 /arch | |
parent | 801e4062fda6496fe9bee3e6915a2aa108f974e5 (diff) |
Suspend: Clean up Kconfig (V2)
This cleans up the suspend Kconfig and removes the need to
declare centrally which architectures support suspend. All
architectures that currently support suspend are modified
accordingly.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Russell King <rmk@arm.linux.org.uk>
Acked-by: Paul Mackerras <paulus@samba.org>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Cc: Pavel Machek <pavel@suse.cz>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 3 | ||||
-rw-r--r-- | arch/blackfin/Kconfig | 4 | ||||
-rw-r--r-- | arch/frv/Kconfig | 5 | ||||
-rw-r--r-- | arch/mips/Kconfig | 4 | ||||
-rw-r--r-- | arch/powerpc/Kconfig | 4 | ||||
-rw-r--r-- | arch/sh/Kconfig | 4 | ||||
-rw-r--r-- | arch/x86/Kconfig | 4 |
7 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 77201d3f7479..a00d8b97c306 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1035,6 +1035,9 @@ menu "Power management options" | |||
1035 | 1035 | ||
1036 | source "kernel/power/Kconfig" | 1036 | source "kernel/power/Kconfig" |
1037 | 1037 | ||
1038 | config ARCH_SUSPEND_POSSIBLE | ||
1039 | def_bool y | ||
1040 | |||
1038 | endmenu | 1041 | endmenu |
1039 | 1042 | ||
1040 | source "net/Kconfig" | 1043 | source "net/Kconfig" |
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index fc7ca86ac8bf..4802eb767dc9 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -898,6 +898,10 @@ endmenu | |||
898 | menu "Power management options" | 898 | menu "Power management options" |
899 | source "kernel/power/Kconfig" | 899 | source "kernel/power/Kconfig" |
900 | 900 | ||
901 | config ARCH_SUSPEND_POSSIBLE | ||
902 | def_bool y | ||
903 | depends on !SMP | ||
904 | |||
901 | choice | 905 | choice |
902 | prompt "Select PM Wakeup Event Source" | 906 | prompt "Select PM Wakeup Event Source" |
903 | default PM_WAKEUP_GPIO_BY_SIC_IWR | 907 | default PM_WAKEUP_GPIO_BY_SIC_IWR |
diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig index 43153e767bb1..2e25b95a494b 100644 --- a/arch/frv/Kconfig +++ b/arch/frv/Kconfig | |||
@@ -357,6 +357,11 @@ source "drivers/pcmcia/Kconfig" | |||
357 | # should probably wait a while. | 357 | # should probably wait a while. |
358 | 358 | ||
359 | menu "Power management options" | 359 | menu "Power management options" |
360 | |||
361 | config ARCH_SUSPEND_POSSIBLE | ||
362 | def_bool y | ||
363 | depends on !SMP | ||
364 | |||
360 | source kernel/power/Kconfig | 365 | source kernel/power/Kconfig |
361 | endmenu | 366 | endmenu |
362 | 367 | ||
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 4fad0a34b997..e387f3ab5f8d 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -2086,6 +2086,10 @@ endmenu | |||
2086 | 2086 | ||
2087 | menu "Power management options" | 2087 | menu "Power management options" |
2088 | 2088 | ||
2089 | config ARCH_SUSPEND_POSSIBLE | ||
2090 | def_bool y | ||
2091 | depends on !SMP | ||
2092 | |||
2089 | source "kernel/power/Kconfig" | 2093 | source "kernel/power/Kconfig" |
2090 | 2094 | ||
2091 | endmenu | 2095 | endmenu |
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 68f0cf730d7f..824140d6cd27 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -166,6 +166,10 @@ config ARCH_HIBERNATION_POSSIBLE | |||
166 | depends on (PPC64 && HIBERNATE_64) || (PPC32 && HIBERNATE_32) | 166 | depends on (PPC64 && HIBERNATE_64) || (PPC32 && HIBERNATE_32) |
167 | default y | 167 | default y |
168 | 168 | ||
169 | config ARCH_SUSPEND_POSSIBLE | ||
170 | def_bool y | ||
171 | depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 | ||
172 | |||
169 | config PPC_DCR_NATIVE | 173 | config PPC_DCR_NATIVE |
170 | bool | 174 | bool |
171 | default n | 175 | default n |
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 1cd9c8fd927d..b30c4c376a83 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -882,6 +882,10 @@ endmenu | |||
882 | menu "Power management options (EXPERIMENTAL)" | 882 | menu "Power management options (EXPERIMENTAL)" |
883 | depends on EXPERIMENTAL && SYS_SUPPORTS_PM | 883 | depends on EXPERIMENTAL && SYS_SUPPORTS_PM |
884 | 884 | ||
885 | config ARCH_SUSPEND_POSSIBLE | ||
886 | def_bool y | ||
887 | depends on !SMP | ||
888 | |||
885 | source kernel/power/Kconfig | 889 | source kernel/power/Kconfig |
886 | 890 | ||
887 | endmenu | 891 | endmenu |
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 120070cbedd2..34401f45ade4 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -116,6 +116,10 @@ config ARCH_HIBERNATION_POSSIBLE | |||
116 | def_bool y | 116 | def_bool y |
117 | depends on !SMP || !X86_VOYAGER | 117 | depends on !SMP || !X86_VOYAGER |
118 | 118 | ||
119 | config ARCH_SUSPEND_POSSIBLE | ||
120 | def_bool y | ||
121 | depends on !X86_VOYAGER | ||
122 | |||
119 | config ZONE_DMA32 | 123 | config ZONE_DMA32 |
120 | bool | 124 | bool |
121 | default X86_64 | 125 | default X86_64 |