arm64: mm: Show bss segment in kernel memory layout
authorKefeng Wang <wangkefeng.wang@huawei.com>
Mon, 18 Apr 2016 03:09:47 +0000 (11:09 +0800)
committerWill Deacon <will.deacon@arm.com>
Tue, 19 Apr 2016 16:03:31 +0000 (17:03 +0100)
Show the bss segment information as with text and data in Virtual
memory kernel layout.

Acked-by: James Morse <james.morse@arm.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/init.c

index f6ff5b5df9f841e42eacdd43f25af034c69cfa8f..d45f8627012c0610c4d62e54c11eacd8007c5f52 100644 (file)
@@ -437,6 +437,8 @@ void __init mem_init(void)
                MLK_ROUNDUP(__init_begin, __init_end));
        pr_cont("      .data : 0x%p" " - 0x%p" "   (%6ld KB)\n",
                MLK_ROUNDUP(_sdata, _edata));
+       pr_cont("       .bss : 0x%p" " - 0x%p" "   (%6ld KB)\n",
+               MLK_ROUNDUP(__bss_start, __bss_stop));
        pr_cont("    fixed   : 0x%16lx - 0x%16lx   (%6ld KB)\n",
                MLK(FIXADDR_START, FIXADDR_TOP));
        pr_cont("    PCI I/O : 0x%16lx - 0x%16lx   (%6ld MB)\n",