diff --git a/arch/mips/core/fatal.c b/arch/mips/core/fatal.c index a53e5bb0f5e..aee7a597d4d 100644 --- a/arch/mips/core/fatal.c +++ b/arch/mips/core/fatal.c @@ -84,7 +84,7 @@ static char *cause_str(unsigned long cause) } } -void _Fault(struct arch_esf *esf) +void z_mips_fault(struct arch_esf *esf) { unsigned long cause; diff --git a/arch/mips/core/isr.S b/arch/mips/core/isr.S index f2f2f342053..1532d06fe5e 100644 --- a/arch/mips/core/isr.S +++ b/arch/mips/core/isr.S @@ -66,7 +66,7 @@ addi sp, sp, __struct_arch_esf_SIZEOF ; /* imports */ -GTEXT(_Fault) +GTEXT(z_mips_fault) GTEXT(_k_neg_eagain) GTEXT(z_thread_mark_switched_in) @@ -125,7 +125,7 @@ SECTION_FUNC(exception.other, _mips_interrupt) unhandled: move a0, sp - jal _Fault + jal z_mips_fault eret is_kernel_syscall: