Skip to content

Commit d76cf5b

Browse files
jholkartben
authored andcommitted
arch: mips: Rename _Fault to z_mips_fault
The exception fault handler function is named _Fault which is inconsistent with all other arch-specific functions present in Zephyr. This patch replaces the name with z_mips_fault. Signed-off-by: Joel Holdsworth <[email protected]>
1 parent 4611e16 commit d76cf5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arch/mips/core/fatal.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static char *cause_str(unsigned long cause)
8484
}
8585
}
8686

87-
void _Fault(struct arch_esf *esf)
87+
void z_mips_fault(struct arch_esf *esf)
8888
{
8989
unsigned long cause;
9090

arch/mips/core/isr.S

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
addi sp, sp, __struct_arch_esf_SIZEOF ;
6767

6868
/* imports */
69-
GTEXT(_Fault)
69+
GTEXT(z_mips_fault)
7070

7171
GTEXT(_k_neg_eagain)
7272
GTEXT(z_thread_mark_switched_in)
@@ -125,7 +125,7 @@ SECTION_FUNC(exception.other, _mips_interrupt)
125125

126126
unhandled:
127127
move a0, sp
128-
jal _Fault
128+
jal z_mips_fault
129129
eret
130130

131131
is_kernel_syscall:

0 commit comments

Comments
 (0)