]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blobdiff - arch/x86/mm/init.c
memblock: rename memblock_free to memblock_phys_free
[mirror_ubuntu-kernels.git] / arch / x86 / mm / init.c
index 23a14d82e7838eb27d981180e6d6f75097fe9ebe..1895986842b91e471306bb099821bbef348c5513 100644 (file)
@@ -618,7 +618,7 @@ static void __init memory_map_top_down(unsigned long map_start,
         */
        addr = memblock_phys_alloc_range(PMD_SIZE, PMD_SIZE, map_start,
                                         map_end);
-       memblock_free(addr, PMD_SIZE);
+       memblock_phys_free(addr, PMD_SIZE);
        real_end = addr + PMD_SIZE;
 
        /* step_size need to be small so pgt_buf from BRK could cover it */