diff options
author | Tony Luck <tony.luck@intel.com> | 2009-02-19 11:22:36 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-23 14:59:53 -0700 |
commit | 9ab86a875ebb6f7568c1cd096ca7e7dd66b7aadd (patch) | |
tree | 16d5efac0f972d36868063455c323176f108bd3b /arch | |
parent | 5af6a275ed4145a26223f6ae1ecdab43262f12d8 (diff) | |
download | lwn-9ab86a875ebb6f7568c1cd096ca7e7dd66b7aadd.tar.gz lwn-9ab86a875ebb6f7568c1cd096ca7e7dd66b7aadd.zip |
Build fix for __early_pfn_to_nid() undefined link error
commit 334f85b647bc46ff4d27ace55aa65f44d6a2f4db upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 fb7e69cb47f3..48dfb6fe9b5b 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -444,8 +444,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 |