Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5bf604af authored by Larry Bassel's avatar Larry Bassel Committed by Stephen Boyd
Browse files

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: default avatarLarry Bassel <lbassel@codeaurora.org>
(cherry picked from commit f559f0e79e9a72da3e512a4577a3daa6f95cd603)
parent 9f195a1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment