arch/risc-v/src/common/riscv_createstack.c: Fix the stack_color name.

This commit is contained in:
Ouss4 2020-05-07 18:31:02 +01:00 committed by Gregory Nutt
parent c2244a2382
commit e74899ff6d

View File

@ -252,7 +252,7 @@ int up_create_stack(FAR struct tcb_s *tcb, size_t stack_size, uint8_t ttype)
sizeof(struct tls_info_s);
stack_size = tcb->adj_stack_size -
sizeof(struct tls_info_s);
riscv_stack_color((FAR void *)stack_base, stack_size);
up_stack_color((FAR void *)stack_base, stack_size);
#endif /* CONFIG_STACK_COLORATION */