summaryrefslogtreecommitdiffstats
path: root/arch/unicore32/boot
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-04-05 00:23:50 +0200
committerH. Peter Anvin <hpa@zytor.com>2011-04-06 17:57:01 -0700
commit5510db9c1be111528ce46c57f0bec1c9dce258f4 (patch)
treebaac6b88477983f9f6e18e6d7fa14a0e819e217f /arch/unicore32/boot
parent5b8443b25c0f323ec190d094e4b441957b02664e (diff)
x86-32, numa: Reorganize calculate_numa_remap_page()
Separate the outer node walking loop and per-node logic from calculate_numa_remap_pages(). The outer loop is collapsed into initmem_init() and the per-node logic is moved into a new function - init_alloc_remap(). The new function name is confusing with the existing init_remap_allocator() and the behavior is the function isn't very clean either at this point, but this is to prepare for further cleanups and it will become prettier. This function doesn't introduce any behavior change. Signed-off-by: Tejun Heo <tj@kernel.org> Link: http://lkml.kernel.org/r/1301955840-7246-5-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>
Diffstat (limited to 'arch/unicore32/boot')
0 files changed, 0 insertions, 0 deletions