
Since the swap code is utilized so heavily for memory migration
force the config option on.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
---

 memhotplug-dave/init/Kconfig |    3 +++
 memhotplug-dave/mm/Kconfig   |    3 +++
 2 files changed, 6 insertions(+)

diff -puN init/Kconfig~AA-PM-07.2-memory_migration-depends-swap init/Kconfig
--- memhotplug/init/Kconfig~AA-PM-07.2-memory_migration-depends-swap	2005-03-28 16:38:13.000000000 -0800
+++ memhotplug-dave/init/Kconfig	2005-03-28 16:38:13.000000000 -0800
@@ -79,6 +79,9 @@ config SWAP
 	  used to provide more virtual memory than the actual RAM present
 	  in your computer.  If unsure say Y.
 
+comment "  Swap automatically enabled by selecting Memory Migration"
+	depends on MEMORY_MIGRATE
+
 config SYSVIPC
 	bool "System V IPC"
 	depends on MMU
diff -puN mm/Kconfig~AA-PM-07.2-memory_migration-depends-swap mm/Kconfig
--- memhotplug/mm/Kconfig~AA-PM-07.2-memory_migration-depends-swap	2005-03-28 16:38:13.000000000 -0800
+++ memhotplug-dave/mm/Kconfig	2005-03-28 16:38:13.000000000 -0800
@@ -9,3 +9,6 @@ config MEMORY_REMOVE
 	help
 	  Enabling this option allows you to hot-remove highmem zones
 	  on i386 systems.  The i386 depenence is a hack for now.
+
+comment "Selecting Memory Migration automatically enables CONFIG_SWAP"
+ 	depends on !SWAP
_
