Skip to content
Commit 8425438d authored by Sean Anderson's avatar Sean Anderson Committed by Tom Rini
Browse files

common: Only mark malloc initialized after mem_malloc_init



Instead of marking malloc as initialized as soon as relocation is done,
defer it until after we call mem_malloc_init. This ensures that malloc
initialization is done before we switch away from simple_malloc, and
matches the SPL behavior.

Fixes: c9356be3 ("dm: Split the simple malloc() implementation into its own file")
Signed-off-by: default avatarSean Anderson <sean.anderson@seco.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 90c81f40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment