masayuki2009 commented on pull request #5522:
URL: https://github.com/apache/incubator-nuttx/pull/5522#issuecomment-1042624363


   @minabeoki 
   So, we don't need the second commit but need the following change instead.
   
   ```
   diff --git a/mm/umm_heap/umm_heap.h b/mm/umm_heap/umm_heap.h
   index 7d8e8a49da..7d74ea94e1 100644
   --- a/mm/umm_heap/umm_heap.h
   +++ b/mm/umm_heap/umm_heap.h
   @@ -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
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to