lkml.org 
[lkml]   [2006]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Fix compile error "undefined reference" for sparc64.
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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-02 07:37    [W:0.043 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site