aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-12-07 20:14:00 -0500
committerLen Brown <len.brown@intel.com>2008-02-01 18:30:55 -0500
commitf4cb57007662a4ec3c2de3c027900223e0299bdd (patch)
treeec0c277f3cae26594714c458ad40b1e0e5aca484 /arch
parent801e4062fda6496fe9bee3e6915a2aa108f974e5 (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/Kconfig3
-rw-r--r--arch/blackfin/Kconfig4
-rw-r--r--arch/frv/Kconfig5
-rw-r--r--arch/mips/Kconfig4
-rw-r--r--arch/powerpc/Kconfig4
-rw-r--r--arch/sh/Kconfig4
-rw-r--r--arch/x86/Kconfig4
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
1036source "kernel/power/Kconfig" 1036source "kernel/power/Kconfig"
1037 1037
1038config ARCH_SUSPEND_POSSIBLE
1039 def_bool y
1040
1038endmenu 1041endmenu
1039 1042
1040source "net/Kconfig" 1043source "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
898menu "Power management options" 898menu "Power management options"
899source "kernel/power/Kconfig" 899source "kernel/power/Kconfig"
900 900
901config ARCH_SUSPEND_POSSIBLE
902 def_bool y
903 depends on !SMP
904
901choice 905choice
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
359menu "Power management options" 359menu "Power management options"
360
361config ARCH_SUSPEND_POSSIBLE
362 def_bool y
363 depends on !SMP
364
360source kernel/power/Kconfig 365source kernel/power/Kconfig
361endmenu 366endmenu
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
2087menu "Power management options" 2087menu "Power management options"
2088 2088
2089config ARCH_SUSPEND_POSSIBLE
2090 def_bool y
2091 depends on !SMP
2092
2089source "kernel/power/Kconfig" 2093source "kernel/power/Kconfig"
2090 2094
2091endmenu 2095endmenu
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
169config ARCH_SUSPEND_POSSIBLE
170 def_bool y
171 depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200
172
169config PPC_DCR_NATIVE 173config 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
882menu "Power management options (EXPERIMENTAL)" 882menu "Power management options (EXPERIMENTAL)"
883depends on EXPERIMENTAL && SYS_SUPPORTS_PM 883depends on EXPERIMENTAL && SYS_SUPPORTS_PM
884 884
885config ARCH_SUSPEND_POSSIBLE
886 def_bool y
887 depends on !SMP
888
885source kernel/power/Kconfig 889source kernel/power/Kconfig
886 890
887endmenu 891endmenu
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
119config ARCH_SUSPEND_POSSIBLE
120 def_bool y
121 depends on !X86_VOYAGER
122
119config ZONE_DMA32 123config ZONE_DMA32
120 bool 124 bool
121 default X86_64 125 default X86_64