From: Yinghai Lu Date: Wed, 17 Feb 2010 19:29:49 +0000 (-0800) Subject: x86: Fix non-bootmem compilation on PowerPC X-Git-Tag: v2.6.34-rc1~218^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ee78f7b1d8ada2615ecbcd9fea70580008bd6ce;p=pandora-kernel.git x86: Fix non-bootmem compilation on PowerPC These build errors on some non-x86 platforms (PowerPC for example): mm/page_alloc.c: In function '__alloc_memory_core_early': mm/page_alloc.c:3468: error: implicit declaration of function 'find_early_area' mm/page_alloc.c:3483: error: implicit declaration of function 'reserve_early_without_check' The function is only needed on CONFIG_NO_BOOTMEM. Signed-off-by: Yinghai Lu Cc: Andrew Morton Cc: Johannes Weiner Cc: Mel Gorman LKML-Reference: <4B747239.4070907@kernel.org> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed