mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
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:
committed by
Petro Karashchenko
parent
a44a0a08cd
commit
41d62033a0
@@ -35,7 +35,7 @@
|
|||||||
* Pre-processor Definitions
|
* 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
|
/* In the kernel build, there are multiple user heaps; one for each task
|
||||||
* group. In this build configuration, the user heap structure lies
|
* group. In this build configuration, the user heap structure lies
|
||||||
* in a reserved region at the beginning of the .bss/.data address
|
* in a reserved region at the beginning of the .bss/.data address
|
||||||
|
|||||||
Reference in New Issue
Block a user