mm: umm_heap: Fix umm_heap for BUILD_KERNEL & ADDRENV

Summary:
- I noticed that the user heap is corrupted
- This commit fixes this issue by reverting the change to
  the NuttX-9.0.0

Impact:
- None

Testing:
- sabre6-quad:netknsh (not merged yet)

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Co-authored-by: Oki Minabe <minabe.oki@gmail.com>
This commit is contained in:
Masayuki Ishikawa 2022-02-17 15:52:25 +09:00 committed by Petro Karashchenko
parent a44a0a08cd
commit 41d62033a0
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
* Pre-processor Definitions
****************************************************************************/
#if defined(CONFIG_ARCH_ADDRENV) && defined(__KERNEL__)
#if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_BUILD_KERNEL)
/* In the kernel build, there are 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