diff options
author | Tony Luck <aegl@agluck-desktop.(none)> | 2009-02-19 14:22:36 -0500 |
---|---|---|
committer | Tony Luck <aegl@agluck-desktop.(none)> | 2009-02-19 14:22:36 -0500 |
commit | 334f85b647bc46ff4d27ace55aa65f44d6a2f4db (patch) | |
tree | 5068a67ac4cdab359bd3ff27c5b48c2272449b3d /arch | |
parent | ba95fd47d177d46743ad94055908d22840370e06 (diff) |
[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: f2dbcfa738368c8a40d4a5f0b65dc9879577cb21
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 6183aeccecf1..20d6d28ca735 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -479,8 +479,7 @@ config HOLES_IN_ZONE | |||
479 | default y if VIRTUAL_MEM_MAP | 479 | default y if VIRTUAL_MEM_MAP |
480 | 480 | ||
481 | config HAVE_ARCH_EARLY_PFN_TO_NID | 481 | config HAVE_ARCH_EARLY_PFN_TO_NID |
482 | def_bool y | 482 | def_bool NUMA && SPARSEMEM |
483 | depends on NEED_MULTIPLE_NODES | ||
484 | 483 | ||
485 | config HAVE_ARCH_NODEDATA_EXTENSION | 484 | config HAVE_ARCH_NODEDATA_EXTENSION |
486 | def_bool y | 485 | def_bool y |