From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] OMAPFB: fix printing of reserved memory Date: Fri, 17 Oct 2008 14:45:32 -0700 Message-ID: <20081017214530.GD18573@atomide.com> References: <20080912102716.23245.73291.stgit@tubuntu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-01-bos.mailhop.org ([63.208.196.178]:62375 "EHLO mho-01-bos.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754654AbYJQVpd (ORCPT ); Fri, 17 Oct 2008 17:45:33 -0400 Content-Disposition: inline In-Reply-To: <20080912102716.23245.73291.stgit@tubuntu> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Tomi Valkeinen Cc: linux-omap@vger.kernel.org * Tomi Valkeinen [080912 03:27]: > Print reserved memory only if it was actually reserved. Can you reply with your Signed-off-by? Thanks, Tony > --- > > arch/arm/plat-omap/fb.c | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c > index f9927a7..63c82ef 100644 > --- a/arch/arm/plat-omap/fb.c > +++ b/arch/arm/plat-omap/fb.c > @@ -207,9 +207,10 @@ void __init omapfb_reserve_sdram(void) > config_invalid = 1; > return; > } > - if (rg.paddr) > + if (rg.paddr) { > reserve_bootmem(rg.paddr, rg.size, BOOTMEM_DEFAULT); > - reserved += rg.size; > + reserved += rg.size; > + } > omapfb_config.mem_desc.region[i] = rg; > configured_regions++; > } > > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html