x86, mm: Use memblock memory loop instead of e820_RAM
authorYinghai Lu <yinghai@kernel.org>
Mon, 22 Oct 2012 23:35:18 +0000 (16:35 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 24 Oct 2012 18:52:36 +0000 (11:52 -0700)
We need to handle E820_RAM and E820_RESERVED_KERNEL at the same time.

Also memblock has page aligned range for ram, so we could avoid mapping
partial pages.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/CAE9FiQVZirvaBMFYRfXMmWEcHbKSicQEHz4VAwUv0xFCk51ZNw@mail.gmail.com
Acked-by: Jacob Shin <jacob.shin@amd.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: <stable@vger.kernel.org>

No differences found