blob: 625e580945b51580af02a3663cd2666ff74893db [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 *
6 * Params : r2 = address of aborted instruction
7 * : r3 = saved SPSR
8 *
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)