[PATCH] 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 <olh@suse.de> Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
21d6b7e18f
commit
19c324397a
@@ -27,8 +27,8 @@ config PM_DEBUG
|
|||||||
like suspend support.
|
like suspend support.
|
||||||
|
|
||||||
config SOFTWARE_SUSPEND
|
config SOFTWARE_SUSPEND
|
||||||
bool "Software Suspend (EXPERIMENTAL)"
|
bool "Software Suspend"
|
||||||
depends on EXPERIMENTAL && PM && SWAP && (SUSPEND_SMP || !SMP)
|
depends on EXPERIMENTAL && PM && SWAP && ((X86 && SMP) || ((FVR || PPC32 || X86) && !SMP))
|
||||||
---help---
|
---help---
|
||||||
Enable the possibility of suspending the machine.
|
Enable the possibility of suspending the machine.
|
||||||
It doesn't need APM.
|
It doesn't need APM.
|
||||||
|
Reference in New Issue
Block a user