
Microblaze doesn't set CONFIG_NO_BOOTMEM and so memblock_virt_alloc() doesn't work for CONFIG_HAVE_MEMBLOCK && !CONFIG_NO_BOOTMEM. Similar change was already done by others architectures "ARM: mm: Remove bootmem code and switch to NO_BOOTMEM" (sha1:84f452b1e8
) or "openrisc: Consolidate setup to use memblock instead of bootmem" (sha1:266c7fad15
) or "parisc: Drop bootmem and switch to memblock" (sha1:4fe9e1d957
) or "powerpc: Remove bootmem allocator" (sha1:10239733ee
) or "s390/mm: Convert bootmem to memblock" (sha1:50be634507
) or "sparc64: Convert over to NO_BOOTMEM." (sha1:625d693e97
) or "xtensa: drop sysmem and switch to memblock" (sha1:0e46c1115f
) Issue was introduced by: "of/fdt: use memblock_virt_alloc for early alloc" (sha1:0fa1c57934
) Signed-off-by: Rob Herring <robh@kernel.org> Tested-by: Alvaro Gamez Machado <alvaro.gamez@hazent.com> Tested-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
9.8 KiB
9.8 KiB