summaryrefslogtreecommitdiff
path: root/nuttx/arch/sim/src/up_createstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/sim/src/up_createstack.c')
-rw-r--r--nuttx/arch/sim/src/up_createstack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/sim/src/up_createstack.c b/nuttx/arch/sim/src/up_createstack.c
index fb7e80081..a6ebcc5fa 100644
--- a/nuttx/arch/sim/src/up_createstack.c
+++ b/nuttx/arch/sim/src/up_createstack.c
@@ -96,7 +96,7 @@ int up_create_stack(struct tcb_s *tcb, size_t stack_size)
/* Allocate the memory for the stack */
- uint32_t *stack_alloc_ptr = (uint32_t*)kmalloc(adj_stack_size);
+ uint32_t *stack_alloc_ptr = (uint32_t*)kumalloc(adj_stack_size);
if (stack_alloc_ptr)
{
/* This is the address of the last word in the allocation */