[PATCH] show swsuspend only on .config where it can compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Olaf Hering <[email protected]>

Index: linux-2.6.12-rc5-olh/kernel/power/Kconfig
===================================================================
--- linux-2.6.12-rc5-olh.orig/kernel/power/Kconfig
+++ linux-2.6.12-rc5-olh/kernel/power/Kconfig
@@ -28,7 +28,7 @@ config PM_DEBUG
 
 config SOFTWARE_SUSPEND
 	bool "Software Suspend (EXPERIMENTAL)"
-	depends on EXPERIMENTAL && PM && SWAP
+	depends on EXPERIMENTAL && PM && SWAP && (X86 && SMP) || ((FVR || PPC32 || X86) && !SMP)
 	---help---
 	  Enable the possibility of suspending the machine.
 	  It doesn't need APM.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux