dlmalloc: Add support for SPL_SYS_MALLOC_CLEAR_ON_INIT
authorShengyu Qu <wiagn233@outlook.com>
Thu, 24 Aug 2023 16:25:19 +0000 (00:25 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 5 Sep 2023 02:53:46 +0000 (10:53 +0800)
commitc9db9a2ef5558dc1e83965e452030dbf5ce93de2
tree0628e9c819e20885d50d529b86b66f91f05f4a88
parentdd1eb1af2683f5d0e30e70af5bef1bab83f3e594
dlmalloc: Add support for SPL_SYS_MALLOC_CLEAR_ON_INIT

To support SPL_SYS_MALLOC_CLEAR_ON_INIT, we have to modify
#ifdef CONFIG_SYS_MALLOC_CLEAR_ON_INIT
to #if CONFIG_IS_ENABLED(SYS_MALLOC_CLEAR_ON_INIT)

Signed-off-by: Bo Gan <ganboing@gmail.com>
Signed-off-by: Shengyu Qu <wiagn233@outlook.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/dlmalloc.c