swsusp: only allow it when it makes sense
Subsystems (2)
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.
Signed-off-by Olaf Hering <[email protected]>
Signed-off-by Pavel Machek <[email protected]>
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.