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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
index 7fae391caf86..2070651c1bb4 100644
--- a/arch/arm/mm/init.c
+++ b/arch/arm/mm/init.c
@@ -601,7 +601,7 @@ void __init mem_init(void)
601 601
602#ifdef CONFIG_SA1111 602#ifdef CONFIG_SA1111
603 /* now that our DMA memory is actually so designated, we can free it */ 603 /* now that our DMA memory is actually so designated, we can free it */
604 free_reserved_area(__va(PHYS_PFN_OFFSET), swapper_pg_dir, 0, NULL); 604 free_reserved_area(__va(PHYS_PFN_OFFSET), swapper_pg_dir, -1, NULL);
605#endif 605#endif
606 606
607 free_highpages(); 607 free_highpages();
@@ -729,12 +729,12 @@ void free_initmem(void)
729 extern char __tcm_start, __tcm_end; 729 extern char __tcm_start, __tcm_end;
730 730
731 poison_init_mem(&__tcm_start, &__tcm_end - &__tcm_start); 731 poison_init_mem(&__tcm_start, &__tcm_end - &__tcm_start);
732 free_reserved_area(&__tcm_start, &__tcm_end, 0, "TCM link"); 732 free_reserved_area(&__tcm_start, &__tcm_end, -1, "TCM link");
733#endif 733#endif
734 734
735 poison_init_mem(__init_begin, __init_end - __init_begin); 735 poison_init_mem(__init_begin, __init_end - __init_begin);
736 if (!machine_is_integrator() && !machine_is_cintegrator()) 736 if (!machine_is_integrator() && !machine_is_cintegrator())
737 free_initmem_default(0); 737 free_initmem_default(-1);
738} 738}
739 739
740#ifdef CONFIG_BLK_DEV_INITRD 740#ifdef CONFIG_BLK_DEV_INITRD
@@ -745,7 +745,7 @@ void free_initrd_mem(unsigned long start, unsigned long end)
745{ 745{
746 if (!keep_initrd) { 746 if (!keep_initrd) {
747 poison_init_mem((void *)start, PAGE_ALIGN(end) - start); 747 poison_init_mem((void *)start, PAGE_ALIGN(end) - start);
748 free_reserved_area((void *)start, (void *)end, 0, "initrd"); 748 free_reserved_area((void *)start, (void *)end, -1, "initrd");
749 } 749 }
750} 750}
751 751