mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
fix #if condition of g_mmheap for BUILD_KERNEL.
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
* Public Data
|
* 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
|
/* In the kernel build, there a 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