blob: 6e2366a263219b379f4fdb43cc8e5413fb36e52a [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Hyok S. Choi0f45d7f2006-09-28 21:46:16 +09002#include <linux/linkage.h>
3#include <asm/assembler.h>
4/*
5 * Function: nommu_early_abort
6 *
Russell Kingda740472011-06-26 16:01:26 +01007 * Params : r2 = pt_regs
8 * : r4 = aborted context pc
Russell King3e287be2011-06-26 14:35:07 +01009 * : r5 = aborted context psr
Hyok S. Choi0f45d7f2006-09-28 21:46:16 +090010 *
Russell Kingda740472011-06-26 16:01:26 +010011 * Returns : r4 - r11, r13 preserved
Hyok S. Choi0f45d7f2006-09-28 21:46:16 +090012 *
13 * Note: There is no FSR/FAR on !CPU_CP15_MMU cores.
14 * Just fill zero into the registers.
15 */
16 .align 5
17ENTRY(nommu_early_abort)
18 mov r0, #0 @ clear r0, r1 (no FSR/FAR)
19 mov r1, #0
Russell Kingda740472011-06-26 16:01:26 +010020 b do_DataAbort
Catalin Marinas93ed3972008-08-28 11:22:32 +010021ENDPROC(nommu_early_abort)