blob: 8a5d8aaf2d5ed88f027fafef8f5a1721644761ba [file] [log] [blame]
Kirill A. Shutemov4fb28472009-09-25 13:39:47 +01001#include <linux/linkage.h>
2#include <asm/assembler.h>
3
4/*
5 * Function: legacy_pabort
6 *
Russell King8b418612011-06-25 19:25:02 +01007 * Params : r4 = address of aborted instruction
Kirill A. Shutemov4fb28472009-09-25 13:39:47 +01008 *
9 * Returns : r0 = address of abort
10 * : r1 = Simulated IFSR with section translation fault status
11 *
12 * Purpose : obtain information about current prefetch abort.
13 */
14
15 .align 5
16ENTRY(legacy_pabort)
Russell King8b418612011-06-25 19:25:02 +010017 mov r0, r4
Kirill A. Shutemov4fb28472009-09-25 13:39:47 +010018 mov r1, #5
19 mov pc, lr
20ENDPROC(legacy_pabort)