提交 334f85b6 编写于 作者: T Tony Luck

[IA64] Build fix for __early_pfn_to_nid() undefined link error

ia64 only defines __early_pfn_to_nid() for SPARSEMEM && NUMA configurations,
so the recent:

	commit: f2dbcfa7
	mm: clean up for early_pfn_to_nid()

ends up with some link problems for certain configuration files.

Fix arch/ia64/Kconfig to only define HAVE_ARCH_EARLY_PFN_TO_NID in the
cases where we do provide this function.
Signed-off-by: NTony Luck <tony.luck@intel.com>
上级 ba95fd47
...@@ -479,8 +479,7 @@ config HOLES_IN_ZONE ...@@ -479,8 +479,7 @@ config HOLES_IN_ZONE
default y if VIRTUAL_MEM_MAP default y if VIRTUAL_MEM_MAP
config HAVE_ARCH_EARLY_PFN_TO_NID config HAVE_ARCH_EARLY_PFN_TO_NID
def_bool y def_bool NUMA && SPARSEMEM
depends on NEED_MULTIPLE_NODES
config HAVE_ARCH_NODEDATA_EXTENSION config HAVE_ARCH_NODEDATA_EXTENSION
def_bool y def_bool y
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册