aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mm/init.c')
-rw-r--r--arch/arm/mm/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
index 2070651c1bb4..06e9ce17d1d2 100644
--- a/arch/arm/mm/init.c
+++ b/arch/arm/mm/init.c
@@ -596,8 +596,7 @@ void __init mem_init(void)
596 596
597 /* this will put all unused low memory onto the freelists */ 597 /* this will put all unused low memory onto the freelists */
598 free_unused_memmap(&meminfo); 598 free_unused_memmap(&meminfo);
599 599 free_all_bootmem();
600 totalram_pages += free_all_bootmem();
601 600
602#ifdef CONFIG_SA1111 601#ifdef CONFIG_SA1111
603 /* now that our DMA memory is actually so designated, we can free it */ 602 /* now that our DMA memory is actually so designated, we can free it */