x86-32, numa: Remove redundant top-down alloc code from remap initialization
authorTejun Heo <tj@kernel.org>
Mon, 4 Apr 2011 22:23:49 +0000 (00:23 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 7 Apr 2011 00:56:57 +0000 (17:56 -0700)
commit5b8443b25c0f323ec190d094e4b441957b02664e
treeab64e1087999f668729ce45c2e9543ca63f298c9
parenta6c24f7a705d939ddd2fcaa443fa3d8e852b933d
x86-32, numa: Remove redundant top-down alloc code from remap initialization

memblock_find_in_range() now does top-down allocation by default, so
there's no reason for its callers to explicitly implement it by
gradually lowering the start address.

Remove redundant top-down allocation logic from init_meminit() and
calculate_numa_remap_pages().

Signed-off-by: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/1301955840-7246-4-git-send-email-tj@kernel.org
Acked-by: Yinghai Lu <yinghai@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/mm/numa_32.c