commit | b2a4c825be553fe767f215cf950f91ea9507a8eb | [log] [tgz] |
---|---|---|
author | Larry Bassel <lbassel@codeaurora.org> | Sun Oct 02 17:17:45 2011 -0700 |
committer | Zhoulu Luo <zluo@codeaurora.org> | Wed Oct 12 14:48:28 2011 -0700 |
tree | 05fdbc37a6399d206f492a7fd0d1bc92bcc09ba7 | |
parent | 4e7305f5d1424777506cf4ca555882f1582441a0 [diff] |
arm: handle discontiguous page structures between sections If SPARSEMEM is enabled and there is a large amount of memory, the page structures for the various sections may not be contiguous. The code to traverse all of the page structures in page_init() was incorrectly assuming all of the page structures were contiguous, causing early kernel panics in this case. Change-Id: I10548520f4d1c0c232a2df940ab0f9d57078c586 Signed-off-by: Larry Bassel <lbassel@codeaurora.org>