x86, mm: use add_highpages_with_active_regions() for high pages init v2
authorYinghai Lu <yhlu.kernel@gmail.com>
Sun, 15 Jun 2008 01:32:52 +0000 (18:32 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 08:37:25 +0000 (10:37 +0200)
commitb5bc6c0e55000dab86b73f838f5ad02908b23755
tree4895117f5e69ed8648f102dccc895c80c14fbae5
parentd0be6bdea103b8d04c8a3495538b7c0011ae4129
x86, mm: use add_highpages_with_active_regions() for high pages init v2

use early_node_map to init high pages, so we can remove page_is_ram() and
page_is_reserved_early() in the big loop with add_one_highpage

also remove page_is_reserved_early(), it is not needed anymore.

v2: fix the build of other platforms

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/e820.c
arch/x86/mm/discontig_32.c
arch/x86/mm/init_32.c
include/asm-x86/e820.h
include/asm-x86/highmem.h
include/linux/mm.h
mm/page_alloc.c