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