From cfdffa916ea117a353e5acebc5a6f762d00cae10 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Wed, 23 Apr 2003 04:08:30 -0700 Subject: [PATCH] [PATCH] Fix SWSUSP & !SWAP Swsusp without swap makes no sense, and leads to compilation failure. So make the dependency clear in the config files. --- arch/i386/Kconfig | 2 +- arch/x86_64/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index e7e6fa1c59b63..9df31a9bb24c1 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig @@ -798,7 +798,7 @@ config PM 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