arm: mm: correct printing when enabling VMALLOC_SAVING
keep the prev_reg so that we get correct printing if we have more than two carve-out areas. Change-Id: I931a091d3a9e19af36062e2a3fa15ec84ef5f7e4 Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org> Signed-off-by: Qingqing Zhou <qqzhou@codeaurora.org>
This commit is contained in:
parent
0dc78b3282
commit
92d7e39a93
1 changed files with 2 additions and 0 deletions
|
@ -540,6 +540,8 @@ static void print_vmalloc_lowmem_info(void)
|
|||
" lowmem : 0x%08lx - 0x%08lx (%4ld MB)\n",
|
||||
MLM((unsigned long)__va(start_phys),
|
||||
(unsigned long)__va(end_phys)));
|
||||
|
||||
prev_reg = reg;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue