x86: don't reallocate pgt for node0
authorYinghai Lu <yhlu.kernel@gmail.com>
Tue, 1 Jul 2008 01:34:58 +0000 (18:34 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:16:15 +0000 (13:16 +0200)
commit996cf4438f9ed711c98a3cb5ab88f842a4102427
treef4f98c22daee5ac92bbef909c3c3f84ed650a26b
parent28bb22379513ca3cac9d13766064a219c5fc21a9
x86: don't reallocate pgt for node0

kva ram already mapped right after away, so don't need to get that for low ram.
avoid wasting one copy of pgdat.

also add node id in early_res name in case we get it from find_e820_area.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/discontig_32.c