summaryrefslogtreecommitdiff
path: root/nuttx/mm/umm_addregion.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-02 15:58:14 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-02 15:58:14 -0600
commita608530a1a5d6f6eb694c1e1aea613db53192ebc (patch)
tree4b19c15bfe8190d1aa9fc96f6e055ff58b4090ae /nuttx/mm/umm_addregion.c
parent3904a887d4aaced2f4858e2742df5f0eb5ae820a (diff)
downloadpx4-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_addregion.c')
-rw-r--r--nuttx/mm/umm_addregion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/mm/umm_addregion.c b/nuttx/mm/umm_addregion.c
index a0eb3002c..7710f2aa0 100644
--- a/nuttx/mm/umm_addregion.c
+++ b/nuttx/mm/umm_addregion.c
@@ -52,11 +52,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 */