blob: 9eaef6f846c352a14b5e6ccb010e27b665e7e536 [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 King3e287be2011-06-26 14:35:07 +01006 * Params : r4 = aborted context pc
7 * : r5 = aborted context psr
Hyok S. Choi0f45d7f2006-09-28 21:46:16 +09008 *
9 * Returns : r0 = 0 (abort address)
10 * : r1 = 0 (FSR)
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 mov pc, lr
Catalin Marinas93ed3972008-08-28 11:22:32 +010020ENDPROC(nommu_early_abort)