You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/05/07 17:25:45 UTC

[incubator-nuttx] 02/03: arch/risc-v/src/common/riscv_createstack.c: Fix the stack_color name.

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch errno
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 21f4a5aedbd264d6869a8c4bcb40e7c031fc363f
Author: Ouss4 <ab...@gmail.com>
AuthorDate: Thu May 7 18:31:02 2020 +0100

    arch/risc-v/src/common/riscv_createstack.c: Fix the stack_color name.
---
 arch/risc-v/src/common/riscv_createstack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/risc-v/src/common/riscv_createstack.c b/arch/risc-v/src/common/riscv_createstack.c
index d6725d6..318f798 100644
--- a/arch/risc-v/src/common/riscv_createstack.c
+++ b/arch/risc-v/src/common/riscv_createstack.c
@@ -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 */