Commit cfdffa91 authored by Pavel Machek's avatar Pavel Machek Committed by Christoph Hellwig

[PATCH] Fix SWSUSP & !SWAP

Swsusp without swap makes no sense, and leads to compilation
failure.  So make the dependency clear in the config files.
parent 3ed2969b
......@@ -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 <time>'
......
......@@ -286,7 +286,7 @@ config PM
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>'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment