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