summaryrefslogtreecommitdiff
path: root/nuttx/arch/mips/src/common/up_createstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/mips/src/common/up_createstack.c')
-rw-r--r--nuttx/arch/mips/src/common/up_createstack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/mips/src/common/up_createstack.c b/nuttx/arch/mips/src/common/up_createstack.c
index d5c285e25..722c1a35e 100644
--- a/nuttx/arch/mips/src/common/up_createstack.c
+++ b/nuttx/arch/mips/src/common/up_createstack.c
@@ -84,7 +84,7 @@
* must be allocated.
****************************************************************************/
-int up_create_stack(_TCB *tcb, size_t stack_size)
+int up_create_stack(struct tcb_s *tcb, size_t stack_size)
{
if (tcb->stack_alloc_ptr &&
tcb->adj_stack_size != stack_size)
@@ -124,7 +124,7 @@ int up_create_stack(_TCB *tcb, size_t stack_size)
top_of_stack &= ~3;
size_of_stack = top_of_stack - (uint32_t)tcb->stack_alloc_ptr + 4;
- /* Save the adjusted stack values in the _TCB */
+ /* Save the adjusted stack values in the struct tcb_s */
tcb->adj_stack_ptr = (uint32_t*)top_of_stack;
tcb->adj_stack_size = size_of_stack;