* Tomi Valkeinen <tomi.valkeinen@xxxxxxxxx> [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@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html