commit | 0371d3f7e8f1cddaee1f215e42c09a40e235d810 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Jul 05 19:58:29 2011 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Jul 05 20:27:16 2011 +0100 |
tree | 01f4b320ca6ed709d2b24a1eefa5499427ee36de | |
parent | 6f96521fab978046070a697926cf351c2c37af29 [diff] |
ARM: move memory layout sanity checking before meminfo initialization Ensure that the meminfo array is sanity checked before we pass the memory to memblock. This helps to ensure that memblock and meminfo agree on the dimensions of memory, especially when more memory is passed than the kernel can deal with. Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>