blob: 9627646ce7832adc9cc8026e9a8dccd101f297fc [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: v6_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(v6_pabort)
Russell King8b418612011-06-25 19:25:02 +010018 mov r0, r4
Kirill A. Shutemov4fb28472009-09-25 13:39:47 +010019 mrc p15, 0, r1, c5, c0, 1 @ get IFSR
Russell King8dfe7ac2011-06-26 12:37:35 +010020 b do_PrefetchAbort
Kirill A. Shutemov4fb28472009-09-25 13:39:47 +010021ENDPROC(v6_pabort)