Hyok S. Choi | 0f45d7f | 2006-09-28 21:46:16 +0900 | [diff] [blame] | 1 | #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 | ||||
16 | ENTRY(nommu_early_abort) | ||||
17 | mov r0, #0 @ clear r0, r1 (no FSR/FAR) | ||||
18 | mov r1, #0 | ||||
19 | mov pc, lr |