Skip to content
Commit ac21fc2d authored by Rob Herring's avatar Rob Herring Committed by Rich Felker
Browse files

sh: switch to NO_BOOTMEM

Commit 0fa1c579 ("of/fdt: use memblock_virt_alloc for early alloc")
inadvertently switched the DT unflattening allocations from memblock to
bootmem which doesn't work because the unflattening happens before
bootmem is initialized. Swapping the order of bootmem init and
unflattening could also fix this, but removing bootmem is desired. So
enable NO_BOOTMEM on SH like other architectures have done.

Fixes: 0fa1c579

 ("of/fdt: use memblock_virt_alloc for early alloc")
Reported-by: default avatarRich Felker <dalias@libc.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarRich Felker <dalias@libc.org>
parent b9826a49
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment