From 692ffb60b43d35485f0ad6da7b5c7c0c931db55d Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Thu, 31 Mar 2022 12:33:11 +0800 Subject: [PATCH] arch/risc-v: Rename up_doirq to riscv_doirq Signed-off-by: Huang Qi --- arch/risc-v/src/common/riscv_doirq.c | 2 +- arch/risc-v/src/common/riscv_internal.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/risc-v/src/common/riscv_doirq.c b/arch/risc-v/src/common/riscv_doirq.c index 7e73a2b740..9bc5be89de 100644 --- a/arch/risc-v/src/common/riscv_doirq.c +++ b/arch/risc-v/src/common/riscv_doirq.c @@ -55,7 +55,7 @@ * Public Functions ****************************************************************************/ -uintptr_t *up_doirq(int irq, uintptr_t *regs) +uintptr_t *riscv_doirq(int irq, uintptr_t *regs) { board_autoled_on(LED_INIRQ); #ifdef CONFIG_SUPPRESS_INTERRUPTS diff --git a/arch/risc-v/src/common/riscv_internal.h b/arch/risc-v/src/common/riscv_internal.h index 2f1e8886ae..66df3b70cd 100644 --- a/arch/risc-v/src/common/riscv_internal.h +++ b/arch/risc-v/src/common/riscv_internal.h @@ -253,6 +253,7 @@ void riscv_netinitialize(void); /* Exception Handler ********************************************************/ +uintptr_t *riscv_doirq(int irq, uintptr_t *regs); void riscv_fault(int irq, uintptr_t *regs); void riscv_exception(uintptr_t mcause, uintptr_t *regs);