aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2011-06-02 10:01:36 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-06-06 05:56:10 -0400
commit45f6d7e0e634d49744c1a590461ed1bb3d2201ac (patch)
treed9de6478bcc33fda56c1b3949177398aeb0d7acc /arch
parent9a819d8ac8197b44bbc2adad592b677fe749804d (diff)
ARM: 6951/1: include .bss in memory layout information
The "Virtual memory kernel layout" message at startup already prints .text and .data. Print .bss too. Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mm/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
index 2c2cce9cd8c8..b2cf9460ea60 100644
--- a/arch/arm/mm/init.c
+++ b/arch/arm/mm/init.c
@@ -635,7 +635,8 @@ void __init mem_init(void)
635 " modules : 0x%08lx - 0x%08lx (%4ld MB)\n" 635 " modules : 0x%08lx - 0x%08lx (%4ld MB)\n"
636 " .init : 0x%p" " - 0x%p" " (%4d kB)\n" 636 " .init : 0x%p" " - 0x%p" " (%4d kB)\n"
637 " .text : 0x%p" " - 0x%p" " (%4d kB)\n" 637 " .text : 0x%p" " - 0x%p" " (%4d kB)\n"
638 " .data : 0x%p" " - 0x%p" " (%4d kB)\n", 638 " .data : 0x%p" " - 0x%p" " (%4d kB)\n"
639 " .bss : 0x%p" " - 0x%p" " (%4d kB)\n",
639 640
640 MLK(UL(CONFIG_VECTORS_BASE), UL(CONFIG_VECTORS_BASE) + 641 MLK(UL(CONFIG_VECTORS_BASE), UL(CONFIG_VECTORS_BASE) +
641 (PAGE_SIZE)), 642 (PAGE_SIZE)),
@@ -657,7 +658,8 @@ void __init mem_init(void)
657 658
658 MLK_ROUNDUP(__init_begin, __init_end), 659 MLK_ROUNDUP(__init_begin, __init_end),
659 MLK_ROUNDUP(_text, _etext), 660 MLK_ROUNDUP(_text, _etext),
660 MLK_ROUNDUP(_sdata, _edata)); 661 MLK_ROUNDUP(_sdata, _edata),
662 MLK_ROUNDUP(__bss_start, __bss_stop));
661 663
662#undef MLK 664#undef MLK
663#undef MLM 665#undef MLM