From db2a8f0dc5bda6e5b17ddd804a5c97f4f404fe98 Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Tue, 2 Feb 2021 19:38:24 +0100 Subject: [PATCH] arch/risc-v: Remove incorrect ARM references. Signed-off-by: Abdelatif Guettouche --- arch/risc-v/src/common/riscv_checkstack.c | 2 +- arch/risc-v/src/nr5m100/nr5_timer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/risc-v/src/common/riscv_checkstack.c b/arch/risc-v/src/common/riscv_checkstack.c index dcc50d580d..3285322b39 100644 --- a/arch/risc-v/src/common/riscv_checkstack.c +++ b/arch/risc-v/src/common/riscv_checkstack.c @@ -111,7 +111,7 @@ static size_t do_stackcheck(uintptr_t alloc, size_t size, bool int_stack) size = end - start; - /* The ARM uses a push-down stack: the stack grows toward lower addresses + /* RISC-V uses a push-down stack: the stack grows toward lower addresses * in memory. We need to start at the lowest address in the stack memory * allocation and search to higher addresses. The first word we encounter * that does not have the magic value is the high water mark. diff --git a/arch/risc-v/src/nr5m100/nr5_timer.c b/arch/risc-v/src/nr5m100/nr5_timer.c index ecdcee9ef8..df4173ac05 100644 --- a/arch/risc-v/src/nr5m100/nr5_timer.c +++ b/arch/risc-v/src/nr5m100/nr5_timer.c @@ -1,5 +1,5 @@ /************************************************************************************ - * arm/risc-v/src/nr5m100/nr5_timer.c + * arch/risc-v/src/nr5m100/nr5_timer.c * * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt