2006-09-28 16:46:16 +04:00
|
|
|
#include <linux/linkage.h>
|
|
|
|
#include <asm/assembler.h>
|
|
|
|
/*
|
|
|
|
* Function: nommu_early_abort
|
|
|
|
*
|
2011-06-26 19:01:26 +04:00
|
|
|
* Params : r2 = pt_regs
|
|
|
|
* : r4 = aborted context pc
|
2011-06-26 17:35:07 +04:00
|
|
|
* : r5 = aborted context psr
|
2006-09-28 16:46:16 +04:00
|
|
|
*
|
2011-06-26 19:01:26 +04:00
|
|
|
* Returns : r4 - r11, r13 preserved
|
2006-09-28 16:46:16 +04:00
|
|
|
*
|
|
|
|
* Note: There is no FSR/FAR on !CPU_CP15_MMU cores.
|
|
|
|
* Just fill zero into the registers.
|
|
|
|
*/
|
|
|
|
.align 5
|
|
|
|
ENTRY(nommu_early_abort)
|
|
|
|
mov r0, #0 @ clear r0, r1 (no FSR/FAR)
|
|
|
|
mov r1, #0
|
2011-06-26 19:01:26 +04:00
|
|
|
b do_DataAbort
|
2008-08-28 14:22:32 +04:00
|
|
|
ENDPROC(nommu_early_abort)
|