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:
Naveen Ramaraj 2015-08-18 17:54:54 -07:00 committed by syphyr
parent 7afbc50a96
commit 49b3408fe8

View file

@ -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;