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)
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>

No differences found