From: Yinghai Lu Date: Sat, 26 Feb 2011 12:05:43 +0000 (+0100) Subject: mm: Move early_node_map[] reverse scan helpers under HAVE_MEMBLOCK X-Git-Tag: v2.6.39-rc1~499^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc28989437de5617875a2943697fe6ba51a0da8f;p=pandora-kernel.git mm: Move early_node_map[] reverse scan helpers under HAVE_MEMBLOCK Heiko found recent memblock change triggers these warnings on s390: mm/page_alloc.c:3623:22: warning: 'last_active_region_index_in_nid' defined but not used mm/page_alloc.c:3638:22: warning: 'previous_active_region_index_in_nid' defined but not used Need to move those two function under HAVE_MEMBLOCK with its only user, find_memory_core_early(). -tj: Minor updates to description. Reported-by: Heiko Carstens Signed-off-by: Yinghai Lu Signed-off-by: Tejun Heo --- Reading git-diff-tree failed