memblock: s/memblock_analyze()/memblock_allow_resize()/ and update users
[deliverable/linux.git] / arch / microblaze / kernel / prom.c
index 977484add216913f9073841c033ed4abe5b0bd9f..80d314e81901a2d3b0c27240af5f6ff07c3d99f7 100644 (file)
@@ -122,7 +122,6 @@ void __init early_init_devtree(void *params)
        of_scan_flat_dt(early_init_dt_scan_chosen, cmd_line);
 
        /* Scan memory nodes and rebuild MEMBLOCKs */
-       memblock_init();
        of_scan_flat_dt(early_init_dt_scan_root, NULL);
        of_scan_flat_dt(early_init_dt_scan_memory, NULL);
 
@@ -130,7 +129,7 @@ void __init early_init_devtree(void *params)
        strlcpy(boot_command_line, cmd_line, COMMAND_LINE_SIZE);
        parse_early_param();
 
-       memblock_analyze();
+       memblock_allow_resize();
 
        pr_debug("Phys. mem: %lx\n", (unsigned long) memblock_phys_mem_size());
 
This page took 0.025175 seconds and 5 git commands to generate.