* [PATCH] Fix compile error "undefined reference" for sparc64.
@ 2006-05-02 5:33 Yasunori Goto
0 siblings, 0 replies; only message in thread
From: Yasunori Goto @ 2006-05-02 5:33 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linux Kernel ML
Hi. Andrew-san.
This is to fix compile error against "undefined reference to
`arch_add_memory'". This error occurred on sparc64.
This means that memory hotplug can be enable even if
architecture doesn't have memory hotplug feature.
Sparsemem is useful even if it doesn't have memory hotplug.
So, this patch allows hotplug for only the architecture which have
memory hotplug feature (ia64, x86-32/64, ppc64 now).
Sparc64 can use sparsemem option by it.
This patch is for 2.6.17-rc3-mm1.
Please apply.
Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
mm/Kconfig | 1 +
1 files changed, 1 insertion(+)
Index: pgdat13/mm/Kconfig
===================================================================
--- pgdat13.orig/mm/Kconfig 2006-05-02 13:21:53.000000000 -0400
+++ pgdat13/mm/Kconfig 2006-05-02 13:50:07.000000000 -0400
@@ -116,6 +116,7 @@
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
--
Yasunori Goto
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-05-02 5:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-02 5:33 [PATCH] Fix compile error "undefined reference" for sparc64 Yasunori Goto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®