Skip to contentSkip to conversation

swsusp: only allow it when it makes sense

PATCH New Pavel Machek 1 participant 1 message May 27, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 swsusp: only allow it when it makes sense

Show swsuspend only on .config where it can compile. I got this on PPC32 && SMP:

kernel/power/smp.c:24: error: storage size of `ctxt' isn't known

Also mark swsusp as no longer experimental.

kernel/power/Kconfig renamed from data/l/clean-cg//kernel/power/Kconfig +2 -2
@@ -27,8 +27,8 @@
 	like suspend support.
 
 config SOFTWARE_SUSPEND
-	bool "Software Suspend (EXPERIMENTAL)"
-	depends on EXPERIMENTAL && PM && SWAP
+	bool "Software Suspend"
+	depends on PM && SWAP && ((X86 && SMP) || ((FVR || PPC32 || X86) && !SMP))
 	---help---
 	  Enable the possibility of suspending the machine.
 	  It doesn't need APM.