blob: 8bbff025269a26b7d436f70bc8806434c605f202 [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 King8dfe7ac2011-06-26 12:37:35 +01007 * Params : r2 = pt_regs
8 * : r4 = address of aborted instruction
9 * : r5 = psr for parent context
Kirill A. Shutemov4fb28472009-09-25 13:39:47 +010010 *
Russell King8dfe7ac2011-06-26 12:37:35 +010011 * Returns : r4 - r11, r13 preserved
Kirill A. Shutemov4fb28472009-09-25 13:39:47 +010012 *
13 * Purpose : obtain information about current prefetch abort.
14 */
15
16 .align 5
17ENTRY(legacy_pabort)
Russell King8b418612011-06-25 19:25:02 +010018 mov r0, r4
Kirill A. Shutemov4fb28472009-09-25 13:39:47 +010019 mov r1, #5
Russell King8dfe7ac2011-06-26 12:37:35 +010020 b do_PrefetchAbort
Kirill A. Shutemov4fb28472009-09-25 13:39:47 +010021ENDPROC(legacy_pabort)