diff --git a/mm/page_alloc.c b/mm/page_alloc.c index b056a7fb37a0..2b5c2517410e 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -5461,7 +5461,11 @@ void __init mem_init_print_info(const char *str) codesize = _etext - _stext; datasize = _edata - _sdata; rosize = __end_rodata - __start_rodata; +#ifdef CONFIG_UML + bss_size = _end - __bss_start; +#else bss_size = __bss_stop - __bss_start; +#endif init_data_size = __init_end - __init_begin; init_code_size = _einittext - _sinittext;