linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] swsusp: only allow it when it makes sense
@ 2005-05-27 12:07 Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2005-05-27 12:07 UTC (permalink / raw)
  To: kernel list, Andrew Morton

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>

--- /data/l/clean-cg//kernel/power/Kconfig	2005-04-27 14:53:49.000000000 +0200
+++ linux-good/kernel/power/Kconfig	2005-05-26 15:54:48.000000000 +0200
@@ -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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-27 12:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-27 12:07 [patch] swsusp: only allow it when it makes sense Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).