Skip to content
Commit cf334edf authored by Tom Rini's avatar Tom Rini
Browse files

spl: Correct call to spl_common_init() with SPL_STACK_R_MALLOC_SIMPLE_LEN



Calls to IS_ENABLED() on a non-y/n option will always be false, even
when set.  We can correct this by adding a new bool value that is set
based on the conditions required for SPL_STACK_R_MALLOC_SIMPLE_LEN to be
set instead.

Fixes: 340f418a ("spl: Add spl_early_init()")
Reported-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
---
Changes in v2:
- Fix thinko pointed out by Lokesh
parent 274bced8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment