summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@ti.com>2013-07-14 10:38:52 -0400
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2013-08-05 13:22:09 -0400
commit993211e08a9984aa3ae8a4a840340b2a51a53497 (patch)
tree18febecc1588d4a51fbcf886a3f551ba1ec066d7 /arch
parent55bd61c948eebe496bb0f23656e06d4467a9ea88 (diff)
ARM: Keystone: No need to preserve r12 across smc call
Register r12 is caller-save, so no need preserve it keystone_cpu_smc(). Reported-by: Dave Martin <dave.martin@linaro.org> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-keystone/smc.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-keystone/smc.S b/arch/arm/mach-keystone/smc.S
index 9b9e4f7b241e..5bb5176f5e2b 100644
--- a/arch/arm/mach-keystone/smc.S
+++ b/arch/arm/mach-keystone/smc.S
@@ -22,8 +22,8 @@
* Return: Non zero value on failure
*/
ENTRY(keystone_cpu_smc)
- stmfd sp!, {r4-r12, lr}
+ stmfd sp!, {r4-r11, lr}
smc #0
dsb
- ldmfd sp!, {r4-r12, pc}
+ ldmfd sp!, {r4-r11, pc}
ENDPROC(keystone_cpu_smc)