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