linux-next: build failure after merge of the final tree (akpm treerelated)

From: Stephen Rothwell
Date: Thu Jun 06 2013 - 03:25:49 EST


Hi all,

After merging the final tree, today's linux-next build (sparc32 defconfig)
failed like this:

mm/page_alloc.c: In function 'free_area_init_node':
mm/page_alloc.c:4801:2: error: implicit declaration of function 'get_pfn_range_for_nid' [-Werror=implicit-function-declaration]

Caused by commit 55ce7b776831 ("mm: remove duplicated call to
get_pfn_range_for_nid()"). This build does not have
CONFIG_HAVE_MEMBLOCK_NODE_MAP defined, so that get_pfn_range_for_nid() is
not defined. It used to be called from within the protection of
CONFIG_HAVE_MEMBLOCK_NODE_MAP.

I have reverted that commit for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature