From: Yasunori Goto Date: Tue, 27 Jun 2006 09:53:37 +0000 (-0700) Subject: [PATCH] sparc64: support sparsemem and !memory hotplug X-Git-Tag: v2.6.18-rc1~576 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f04bbd2d396a701c5af2e5b92bad896c2550c16;p=platform%2Fkernel%2Flinux-exynos.git [PATCH] sparc64: support sparsemem and !memory hotplug 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 Signed-off-by: Linus Torvalds --- diff --git a/mm/Kconfig b/mm/Kconfig index 66e65ab..e76c023 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -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