summaryrefslogtreecommitdiffstats
path: root/nuttx/arch/sh
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-04-03 20:41:49 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-04-03 20:41:49 +0000
commit5fb8eb530ad4c493a0d6a6ac0f91b07bc8acb037 (patch)
treee689f42a002a2fd57548de0a3eb2aab98fe8f0f0 /nuttx/arch/sh
parent0fe79fa1bf4823f1c783ce7ddcb386e28f1dbb4e (diff)
Move memory manager into user space
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3460 7fd9a85b-ad96-42d3-883c-3090e2eb8679
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 35651fe863..37346b84b3 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)