Commit 993211e0 authored by Santosh Shilimkar's avatar Santosh Shilimkar

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: default avatarDave Martin <dave.martin@linaro.org>
Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
parent 55bd61c9
......@@ -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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment