summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-03 20:41:49 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-03 20:41:49 +0000
commit758d4800642060f50cdf26f7063c9825ea635d15 (patch)
treee689f42a002a2fd57548de0a3eb2aab98fe8f0f0 /nuttx/arch/sh
parentc5ec7c478098273586b7a5716e30dc82c1e6aba5 (diff)
downloadpx4-nuttx-758d4800642060f50cdf26f7063c9825ea635d15.tar.gz
px4-nuttx-758d4800642060f50cdf26f7063c9825ea635d15.tar.bz2
px4-nuttx-758d4800642060f50cdf26f7063c9825ea635d15.zip
Move memory manager into user space
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3460 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sh')
-rw-r--r--nuttx/arch/sh/src/common/up_createstack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/sh/src/common/up_createstack.c b/nuttx/arch/sh/src/common/up_createstack.c
index 35651fe86..37346b84b 100644
--- a/nuttx/arch/sh/src/common/up_createstack.c
+++ b/nuttx/arch/sh/src/common/up_createstack.c
@@ -94,7 +94,7 @@ int up_create_stack(_TCB *tcb, size_t stack_size)
if (!tcb->stack_alloc_ptr)
{
- tcb->stack_alloc_ptr = (uint32_t*)kzmalloc(stack_size);
+ tcb->stack_alloc_ptr = (uint32_t*)kzalloc(stack_size);
}
if (tcb->stack_alloc_ptr)