Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Wed, 23 Apr 2003 15:51:01 +0200 | From | Pavel Machek <> | Subject | Fix SWSUSP & !SWAP |
| |
Hi!
Swsusp without swap makes no sense, but leads to compilation failure. This fixes it. Please apply, Pavel
Index: linux/arch/i386/Kconfig =================================================================== --- linux.orig/arch/i386/Kconfig 2003-04-22 00:04:32.000000000 +0200 +++ linux/arch/i386/Kconfig 2003-04-22 00:02:32.000000000 +0200 @@ -798,7 +798,7 @@ config SOFTWARE_SUSPEND bool "Software Suspend (EXPERIMENTAL)" - depends on EXPERIMENTAL && PM + depends on EXPERIMENTAL && PM && SWAP ---help--- Enable the possibilty of suspendig machine. It doesn't need APM. You may suspend your machine by 'swsusp' or 'shutdown -z <time>' Index: linux/arch/x86_64/Kconfig =================================================================== --- linux.orig/arch/x86_64/Kconfig 2003-04-22 00:04:32.000000000 +0200 +++ linux/arch/x86_64/Kconfig 2003-04-22 00:02:37.000000000 +0200 @@ -286,7 +286,7 @@ config SOFTWARE_SUSPEND bool "Software Suspend (EXPERIMENTAL)" - depends on EXPERIMENTAL && PM + depends on EXPERIMENTAL && PM && SWAP ---help--- Enable the possibilty of suspending the machine. It doesn't need APM. You may suspend your machine by 'swsusp' or 'shutdown -z <time>' -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |