xref: /openbmc/linux/arch/arm/mm/pabort-v6.S (revision bbaf1ff0)
1/* SPDX-License-Identifier: GPL-2.0 */
2#include <linux/linkage.h>
3#include <asm/assembler.h>
4
5/*
6 * Function: v6_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(v6_pabort)
19	mov	r0, r4
20	mrc	p15, 0, r1, c5, c0, 1		@ get IFSR
21	b	do_PrefetchAbort
22ENDPROC(v6_pabort)
23