arm: mm: consider only lowmem regions while remap
Consider only those memory blocks with lowmem while remapping into 4KB regions using CONFIG_FORCE_PAGES feature. Change-Id: Ie209fce6c310f911d8cf02d977e226660684a6ab Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
This commit is contained in:
parent
14c44670ea
commit
24edbd9fd4
1 changed files with 2 additions and 0 deletions
|
@ -1636,6 +1636,8 @@ static void __init remap_pages(void)
|
|||
bool fixup = false;
|
||||
unsigned long saved_start = addr;
|
||||
|
||||
if (phys_start > arm_lowmem_limit)
|
||||
break;
|
||||
if (phys_end > arm_lowmem_limit)
|
||||
end = (unsigned long)__va(arm_lowmem_limit);
|
||||
if (phys_start >= phys_end)
|
||||
|
|
Loading…
Add table
Reference in a new issue