From 16f7109a8befd2556d602acca7eaf8340f757afb Mon Sep 17 00:00:00 2001 From: Etienne Carriere Date: Wed, 24 May 2023 11:54:09 +0200 Subject: [PATCH] core: riscv: fix interrupt_main_handler() reference Fixes itr_core_handler() reference in RiscV architecture that was renamed interrupt_main_handler() in commit referred below. Fixes: 358bf47c0612 ("core: interrupt: rename itr_core_handler()") Acked-by: Jens Wiklander Signed-off-by: Etienne Carriere --- core/arch/riscv/kernel/thread_arch.c | 2 +- core/arch/riscv/plat-virt/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/arch/riscv/kernel/thread_arch.c b/core/arch/riscv/kernel/thread_arch.c index f9b63c0cd86..dc9777b8848 100644 --- a/core/arch/riscv/kernel/thread_arch.c +++ b/core/arch/riscv/kernel/thread_arch.c @@ -238,7 +238,7 @@ static void thread_exception_handler(unsigned long cause, static void thread_irq_handler(void) { - itr_core_handler(); + interrupt_main_handler(); } static void thread_interrupt_handler(unsigned long cause, diff --git a/core/arch/riscv/plat-virt/main.c b/core/arch/riscv/plat-virt/main.c index db69fb8631e..5cdfb48fd0c 100644 --- a/core/arch/riscv/plat-virt/main.c +++ b/core/arch/riscv/plat-virt/main.c @@ -37,7 +37,7 @@ void console_init(void) register_serial_console(&console_data.chip); } -void itr_core_handler(void) +void interrupt_main_handler(void) { if (IS_ENABLED(CFG_RISCV_PLIC)) plic_it_handle(&plic_data);