From: Yasunori Goto Fix "undefined reference to `arch_add_memory'" on sparc64 allmodconfig. sparc64 doesn't support memory hotplug. But we want it to support sparsemem. Signed-off-by: Yasunori Goto Cc: "David S. Miller" Signed-off-by: Andrew Morton --- mm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -puN mm/Kconfig~fix-compile-error-undefined-reference-for-sparc64 mm/Kconfig --- devel/mm/Kconfig~fix-compile-error-undefined-reference-for-sparc64 2006-05-01 22:41:58.000000000 -0700 +++ devel-akpm/mm/Kconfig 2006-05-01 22:41:58.000000000 -0700 @@ -116,6 +116,7 @@ config SPARSEMEM_EXTREME config MEMORY_HOTPLUG bool "Allow for memory hot-add" depends on SPARSEMEM && HOTPLUG && !SOFTWARE_SUSPEND + depends on (IA64 || X86 || PPC64) comment "Memory hotplug is currently incompatible with Software Suspend" depends on SPARSEMEM && HOTPLUG && SOFTWARE_SUSPEND _