OMAPFB: fix printing of reserved memory
Subsystems (2)
PATCH 1/1 OMAPFB: fix printing of reserved memory
Print reserved memory only if it was actually reserved.
---
arch/arm/plat-omap/fb.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
arch/arm/plat-omap/fb.c +3 -2
@@ -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++; }
Quoted 1 line · Tomi Valkeinen
Print reserved memory only if it was actually reserved.
Can you reply with your Signed-off-by?
Thanks,
Tony
Quoted 27 lines
---
arch/arm/plat-omap/fb.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)arch/arm/plat-omap/fb.c +3
-3@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · ext Tony Lindgren
Quoted 1 line · Tomi Valkeinen
Print reserved memory only if it was actually reserved.
Can you reply with your Signed-off-by?
Quoted 32 lines
Thanks,
Tony
Quoted 27 lines
---
arch/arm/plat-omap/fb.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)arch/arm/plat-omap/fb.c +3
-3@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · Tomi Valkeinen
Quoted 4 lines · ext Tony Lindgren
Quoted 1 line · Tomi Valkeinen
Print reserved memory only if it was actually reserved.
Can you reply with your Signed-off-by?
Signed-off-by Tomi Valkeinen <[email protected]>
Thanks, pushing.
Tony
Quoted 38 lines
Quoted 29 lines
Thanks,
Tony
Quoted 23 lines
---
arch/arm/plat-omap/fb.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)arch/arm/plat-omap/fb.c +3
-2@@ -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++; }Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html