]> git.karo-electronics.de Git - linux-beck.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)
commit1842f90cc98625d4d9bf8f8b927f17705ceb4e9c
tree12a120d130aef8d12010d1b3732af1387bac751d
parent79c601695870ca2a9c0ba9949a97d2be78ec07b2
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