summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/pabort-v7.S
diff options
context:
space:
mode:
authorRussell King2011-06-25 20:25:02 +0200
committerRussell King2011-06-30 12:04:59 +0200
commit8b4186160b7894ca4583f702a562856d5d9e9118 (patch)
treed5937a74e6d3f0738c3ba7eb9383acf51202e62d /arch/arm/mm/pabort-v7.S
parentARM: entry: rejig register allocation in exception entry handlers (diff)
downloadkernel-qcow2-linux-8b4186160b7894ca4583f702a562856d5d9e9118.tar.gz
kernel-qcow2-linux-8b4186160b7894ca4583f702a562856d5d9e9118.tar.xz
kernel-qcow2-linux-8b4186160b7894ca4583f702a562856d5d9e9118.zip
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>
Diffstat (limited to 'arch/arm/mm/pabort-v7.S')
-rw-r--r--arch/arm/mm/pabort-v7.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/pabort-v7.S b/arch/arm/mm/pabort-v7.S
index a8b3b300a18d..b515e0b059b3 100644
--- a/arch/arm/mm/pabort-v7.S
+++ b/arch/arm/mm/pabort-v7.S
@@ -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