ARM: entry: prefetch abort helper: pass aborted pc in r4 rather than r0

This avoids unnecessary instructions for CPUs which implement the IFAR
(instruction fault address register).

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Russell King
2011-06-25 19:25:02 +01:00
parent b059bdc393
commit 8b4186160b
4 ha cambiato i file con 6 aggiunte e 4 eliminazioni

Vedi File

@@ -4,7 +4,7 @@
/*
* Function: v6_pabort
*
* Params : r0 = address of aborted instruction
* Params : r4 = address of aborted instruction
*
* Returns : r0 = address of abort
* : r1 = IFSR