diff options
-rw-r--r-- | arch/arm/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 2e71e245df90..11eb8add7820 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c | |||
@@ -458,7 +458,7 @@ free_memmap(unsigned long start_pfn, unsigned long end_pfn) | |||
458 | * free the section of the memmap array. | 458 | * free the section of the memmap array. |
459 | */ | 459 | */ |
460 | if (pg < pgend) | 460 | if (pg < pgend) |
461 | free_bootmem(pg, pgend - pg); | 461 | memblock_free_early(pg, pgend - pg); |
462 | } | 462 | } |
463 | 463 | ||
464 | /* | 464 | /* |