]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Call early_res_to_bootmem one time
authorYinghai Lu <yinghai@kernel.org>
Wed, 10 Feb 2010 09:20:15 +0000 (01:20 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 11 Feb 2010 01:47:18 +0000 (17:47 -0800)
commit2901446c128fde239b67774ba15db7f6e62bfb73
tree12a120d130aef8d12010d1b3732af1387bac751d
parent4b3df2467cd19318ac918440f3e9748a2da9edc4
x86: Call early_res_to_bootmem one time

Simplify setup_node_mem: don't use bootmem from other node, instead
just find_e820_area in early_node_mem.

This keeps the boundary between early_res and boot mem more clear, and
lets us only call early_res_to_bootmem() one time instead of for all
nodes.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <1265793639-15071-12-git-send-email-yinghai@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/setup.c
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c
arch/x86/mm/numa_64.c