From 484eb1795b0b0a38793d56e53803713b40f3297b Mon Sep 17 00:00:00 2001 From: Oki Minabe Date: Sat, 19 Feb 2022 18:09:18 +0900 Subject: [PATCH] fix #if condition of g_mmheap for BUILD_KERNEL. --- mm/umm_heap/umm_globals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/umm_heap/umm_globals.c b/mm/umm_heap/umm_globals.c index b73fc82999..b5e6290fe3 100644 --- a/mm/umm_heap/umm_globals.c +++ b/mm/umm_heap/umm_globals.c @@ -32,7 +32,7 @@ * Public Data ****************************************************************************/ -#if defined(CONFIG_ARCH_ADDRENV) && defined(__KERNEL__) +#if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_BUILD_KERNEL) /* In the kernel build, there a multiple user heaps; one for each task * group. In this build configuration, the user heap structure lies * in a reserved region at the beginning of the .bss/.data address