blob: 119cb479c2aba0a8ff1b19a5e9e30964a0e892c6 [file] [log] [blame]
Hyok S. Choi0f45d7f2006-09-28 21:46:16 +09001#include <linux/linkage.h>
2#include <asm/assembler.h>
3/*
4 * Function: nommu_early_abort
5 *
Russell Kingda740472011-06-26 16:01:26 +01006 * Params : r2 = pt_regs
7 * : r4 = aborted context pc
Russell King3e287be2011-06-26 14:35:07 +01008 * : r5 = aborted context psr
Hyok S. Choi0f45d7f2006-09-28 21:46:16 +09009 *
Russell Kingda740472011-06-26 16:01:26 +010010 * Returns : r4 - r11, r13 preserved
Hyok S. Choi0f45d7f2006-09-28 21:46:16 +090011 *
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
Russell Kingda740472011-06-26 16:01:26 +010019 b do_DataAbort
Catalin Marinas93ed3972008-08-28 11:22:32 +010020ENDPROC(nommu_early_abort)