diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 17:34:44 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 17:34:44 -0600 |
commit | f8d20db23e41f2cb8f1e99f8f4f7965c215c9677 (patch) | |
tree | 45c7a57c201427409d0f4b78c803d6e240f79f43 /nuttx/arch/sh/src | |
parent | 306de6c62392400107ea8a9d6e3aa13dd202b742 (diff) | |
download | nuttx-f8d20db23e41f2cb8f1e99f8f4f7965c215c9677.tar.gz nuttx-f8d20db23e41f2cb8f1e99f8f4f7965c215c9677.tar.bz2 nuttx-f8d20db23e41f2cb8f1e99f8f4f7965c215c9677.zip |
Reanem kzalloc to kmm_zalloc for consistency
Diffstat (limited to 'nuttx/arch/sh/src')
-rw-r--r-- | nuttx/arch/sh/src/common/up_createstack.c | 2 |
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 a56824627..52e311b76 100644 --- a/nuttx/arch/sh/src/common/up_createstack.c +++ b/nuttx/arch/sh/src/common/up_createstack.c @@ -127,7 +127,7 @@ int up_create_stack(FAR struct tcb_s *tcb, size_t stack_size, uint8_t ttype) if (ttype == TCB_FLAG_TTYPE_KERNEL) { #if defined(CONFIG_DEBUG) && !defined(CONFIG_DEBUG_STACK) - tcb->stack_alloc_ptr = (uint32_t *)kzalloc(stack_size); + tcb->stack_alloc_ptr = (uint32_t *)kmm_zalloc(stack_size); #else tcb->stack_alloc_ptr = (uint32_t *)kmm_malloc(stack_size); #endif |