mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
mm: Fix mem_init_print_info() for UML
UML uses _end instead of __bss_stop to represent the boundary Bug: 21631098 Change-Id: I9ad92d99d3de2ca89497b1a14d98322c43ea99fa Signed-off-by: Naveen Ramaraj <nramaraj@codeaurora.org>
This commit is contained in:
parent
7afbc50a96
commit
49b3408fe8
1 changed files with 4 additions and 0 deletions
|
@ -5461,7 +5461,11 @@ void __init mem_init_print_info(const char *str)
|
||||||
codesize = _etext - _stext;
|
codesize = _etext - _stext;
|
||||||
datasize = _edata - _sdata;
|
datasize = _edata - _sdata;
|
||||||
rosize = __end_rodata - __start_rodata;
|
rosize = __end_rodata - __start_rodata;
|
||||||
|
#ifdef CONFIG_UML
|
||||||
|
bss_size = _end - __bss_start;
|
||||||
|
#else
|
||||||
bss_size = __bss_stop - __bss_start;
|
bss_size = __bss_stop - __bss_start;
|
||||||
|
#endif
|
||||||
init_data_size = __init_end - __init_begin;
|
init_data_size = __init_end - __init_begin;
|
||||||
init_code_size = _einittext - _sinittext;
|
init_code_size = _einittext - _sinittext;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue