From patchwork Fri May 27 15:57:53 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rabin Vincent X-Patchwork-Id: 824672 Received: from bombadil.infradead.org (173-166-109-252-newengland.hfc.comcastbusiness.net [173.166.109.252]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4RG4jrC006741 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 27 May 2011 16:05:08 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QPzQ0-0004Or-6u; Fri, 27 May 2011 15:57:44 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QPzPx-0004TK-Qk; Fri, 27 May 2011 15:57:41 +0000 Received: from mail-px0-f171.google.com ([209.85.212.171]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QPzPu-0004T2-JQ for linux-arm-kernel@lists.infradead.org; Fri, 27 May 2011 15:57:39 +0000 Received: by pxi7 with SMTP id 7so1684811pxi.16 for ; Fri, 27 May 2011 08:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:date:message-id :x-mailer; bh=9sZRcWWFXEQAtPcEGG0g7rgPmMnx4RQAs6SxLPPcZFc=; b=EfSJW+oYMQmxk+sTlUxOn4QAPaIYNpnTo07U70p6bxIWswqzVxTwHea5mnzRzG+JnP hUwLPaGT2ntB2RChe1hpWeqR3QfwPEuhx3m/cfIq9xYMifHlxX56hmwvuIM/2wXj4Kmc Y0EORaeqPsJHueajkl/2COmjUW9X8yUMn+Bx8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer; b=M2YNkDaQ8oJV/H2QlZkFTu6u4YOvO5rFJbGi+8OHjeiMjNXxBDGFUblf3X2wkEnP1x NQzicagz3B4X7Xim9Y+rB25BGa9GOsIQPrBfeeTziZe+p9DMnRUhajMOU7XQ+yzo704B 971Tjcc+0fhzq2hx1Vd85Hcp9inBfwDVk2LNU= Received: by 10.68.62.193 with SMTP id a1mr1032105pbs.33.1306511856842; Fri, 27 May 2011 08:57:36 -0700 (PDT) Received: from localhost.localdomain ([59.164.193.8]) by mx.google.com with ESMTPS id g1sm15584pbj.51.2011.05.27.08.57.33 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 May 2011 08:57:35 -0700 (PDT) From: Rabin Vincent To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: include .bss in memory layout information Date: Fri, 27 May 2011 21:27:53 +0530 Message-Id: <1306511873-19788-1-git-send-email-rabin@rab.in> X-Mailer: git-send-email 1.7.5.1 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110527_115738_865447_96F02650 X-CRM114-Status: GOOD ( 10.70 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.171 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is freemail (rabin.vincent[at]gmail.com) 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 RFC_ABUSE_POST Both abuse and postmaster missing on sender domain 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL Cc: Rabin Vincent X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 27 May 2011 16:05:09 +0000 (UTC) The "Virtual memory kernel layout" message at startup already prints .text and .data. Print .bss too. Signed-off-by: Rabin Vincent --- arch/arm/mm/init.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index e5f6fc4..b58dfe0 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c @@ -587,7 +587,8 @@ void __init mem_init(void) " modules : 0x%08lx - 0x%08lx (%4ld MB)\n" " .init : 0x%p" " - 0x%p" " (%4d kB)\n" " .text : 0x%p" " - 0x%p" " (%4d kB)\n" - " .data : 0x%p" " - 0x%p" " (%4d kB)\n", + " .data : 0x%p" " - 0x%p" " (%4d kB)\n" + " .bss : 0x%p" " - 0x%p" " (%4d kB)\n", MLK(UL(CONFIG_VECTORS_BASE), UL(CONFIG_VECTORS_BASE) + (PAGE_SIZE)), @@ -609,7 +610,8 @@ void __init mem_init(void) MLK_ROUNDUP(__init_begin, __init_end), MLK_ROUNDUP(_text, _etext), - MLK_ROUNDUP(_sdata, _edata)); + MLK_ROUNDUP(_sdata, _edata), + MLK_ROUNDUP(__bss_start, __bss_stop)); #undef MLK #undef MLM