From: Yasunori Goto <y-goto@jp.fujitsu.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Linux Kernel ML <linux-kernel@vger.kernel.org>
Subject: [PATCH] Fix compile error "undefined reference" for sparc64.
Date: Tue, 02 May 2006 14:33:40 +0900 [thread overview]
Message-ID: <20060502142722.CF0C.Y-GOTO@jp.fujitsu.com> (raw)
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
reply other threads:[~2006-05-02 5:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060502142722.CF0C.Y-GOTO@jp.fujitsu.com \
--to=y-goto@jp.fujitsu.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®