Skip to content

Commit

Permalink
[IA64] Build fix for __early_pfn_to_nid() undefined link error
Browse files Browse the repository at this point in the history
ia64 only defines __early_pfn_to_nid() for SPARSEMEM && NUMA configurations,
so the recent:

	commit: f2dbcfa
	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: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Tony Luck committed Feb 19, 2009
1 parent ba95fd4 commit 334f85b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/ia64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,7 @@ config HOLES_IN_ZONE
default y if VIRTUAL_MEM_MAP

config HAVE_ARCH_EARLY_PFN_TO_NID
def_bool y
depends on NEED_MULTIPLE_NODES
def_bool NUMA && SPARSEMEM

config HAVE_ARCH_NODEDATA_EXTENSION
def_bool y
Expand Down

0 comments on commit 334f85b

Please sign in to comment.