1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/linkage.h>
3 #include <asm/assembler.h>
5 * Function: nommu_early_abort
7 * Params : r2 = pt_regs
8 * : r4 = aborted context pc
9 * : r5 = aborted context psr
11 * Returns : r4 - r11, r13 preserved
13 * Note: There is no FSR/FAR on !CPU_CP15_MMU cores.
14 * Just fill zero into the registers.
17 ENTRY(nommu_early_abort)
18 mov r0, #0 @ clear r0, r1 (no FSR/FAR)
21 ENDPROC(nommu_early_abort)