xref: /openbmc/linux/arch/arm/mm/pabort-legacy.S (revision 4f6cce39)
1#include <linux/linkage.h>
2#include <asm/assembler.h>
3
4/*
5 * Function: legacy_pabort
6 *
7 * Params  : r2 = pt_regs
8 *	   : r4 = address of aborted instruction
9 *	   : r5 = psr for parent context
10 *
11 * Returns : r4 - r11, r13 preserved
12 *
13 * Purpose : obtain information about current prefetch abort.
14 */
15
16	.align	5
17ENTRY(legacy_pabort)
18	mov	r0, r4
19	mov	r1, #5
20	b	do_PrefetchAbort
21ENDPROC(legacy_pabort)
22