diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-02 15:58:14 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-02 15:58:14 -0600 |
commit | a608530a1a5d6f6eb694c1e1aea613db53192ebc (patch) | |
tree | 4b19c15bfe8190d1aa9fc96f6e055ff58b4090ae /nuttx/mm/umm_malloc.c | |
parent | 3904a887d4aaced2f4858e2742df5f0eb5ae820a (diff) | |
download | px4-nuttx-a608530a1a5d6f6eb694c1e1aea613db53192ebc.tar.gz px4-nuttx-a608530a1a5d6f6eb694c1e1aea613db53192ebc.tar.bz2 px4-nuttx-a608530a1a5d6f6eb694c1e1aea613db53192ebc.zip |
Add support for delivery of use-mode signals in the kernel build.
Diffstat (limited to 'nuttx/mm/umm_malloc.c')
-rw-r--r-- | nuttx/mm/umm_malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/mm/umm_malloc.c b/nuttx/mm/umm_malloc.c index 8a0bdfec7..6d99e75ab 100644 --- a/nuttx/mm/umm_malloc.c +++ b/nuttx/mm/umm_malloc.c @@ -53,11 +53,11 @@ * group. In this build configuration, the user heap structure lies * in a reserved region at the beginning of the .bss/.data address * space (CONFIG_ARCH_DATA_VBASE). The size of that region is given by - * ARCH_DATA_RESERVE + * ARCH_DATA_RESERVE_SIZE */ # include <nuttx/addrenv.h> -# define USR_HEAP ((FAR struct mm_heap_s *)CONFIG_ARCH_DATA_VBASE) +# define USR_HEAP (&ARCH_DATA_RESERVE->ar_usrheap) #else /* Otherwise, the user heap data structures are in common .bss */ |