xtensa: use correct symbol for the end of .rodata
Use correct symbol for the end of .rodata section when dumping virtual memory layout. This fixes odd rodata size with XIP kernel. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
9fab17ca9a
commit
123b8db839
|
@ -193,8 +193,8 @@ void __init mem_init(void)
|
|||
((max_low_pfn - min_low_pfn) * PAGE_SIZE) >> 20,
|
||||
(unsigned long)_text, (unsigned long)_etext,
|
||||
(unsigned long)(_etext - _text) >> 10,
|
||||
(unsigned long)__start_rodata, (unsigned long)_sdata,
|
||||
(unsigned long)(_sdata - __start_rodata) >> 10,
|
||||
(unsigned long)__start_rodata, (unsigned long)__end_rodata,
|
||||
(unsigned long)(__end_rodata - __start_rodata) >> 10,
|
||||
(unsigned long)_sdata, (unsigned long)_edata,
|
||||
(unsigned long)(_edata - _sdata) >> 10,
|
||||
(unsigned long)__init_begin, (unsigned long)__init_end,
|
||||
|
|
Loading…
Reference in New Issue