commit | 1f2ff682ac951ed82cc043cf140d2851084512df | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yinghai@kernel.org> | Mon Oct 22 16:35:18 2012 -0700 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Wed Oct 24 11:52:36 2012 -0700 |
tree | 179de9631548719d1bc26d530593fc71ec49d0e7 | |
parent | 6ede1fd3cb404c0016de6ac529df46d561bd558b [diff] |
x86, mm: Use memblock memory loop instead of e820_RAM 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>