14fb28474SKirill A. Shutemov#include <linux/linkage.h> 24fb28474SKirill A. Shutemov#include <asm/assembler.h> 34fb28474SKirill A. Shutemov 44fb28474SKirill A. Shutemov/* 54fb28474SKirill A. Shutemov * Function: v6_pabort 64fb28474SKirill A. Shutemov * 74fb28474SKirill A. Shutemov * Params : r0 = address of aborted instruction 84fb28474SKirill A. Shutemov * 94fb28474SKirill A. Shutemov * Returns : r0 = address of abort 104fb28474SKirill A. Shutemov * : r1 = IFSR 114fb28474SKirill A. Shutemov * 124fb28474SKirill A. Shutemov * Purpose : obtain information about current prefetch abort. 134fb28474SKirill A. Shutemov */ 144fb28474SKirill A. Shutemov 154fb28474SKirill A. Shutemov .align 5 164fb28474SKirill A. ShutemovENTRY(v6_pabort) 174fb28474SKirill A. Shutemov mrc p15, 0, r1, c5, c0, 1 @ get IFSR 184fb28474SKirill A. Shutemov mov pc, lr 194fb28474SKirill A. ShutemovENDPROC(v6_pabort) 20