projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55bd61c
)
ARM: Keystone: No need to preserve r12 across smc call
author
Santosh Shilimkar
<santosh.shilimkar@ti.com>
Sun, 14 Jul 2013 14:38:52 +0000
(10:38 -0400)
committer
Santosh Shilimkar
<santosh.shilimkar@ti.com>
Mon, 5 Aug 2013 17:22:09 +0000
(13:22 -0400)
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>
arch/arm/mach-keystone/smc.S
patch
|
blob
|
history
diff --git
a/arch/arm/mach-keystone/smc.S
b/arch/arm/mach-keystone/smc.S
index 9b9e4f7b241ee83660742c7c487f886417ed4bf4..5bb5176f5e2ba320ec384948ea05b197c9237e3b 100644
(file)
--- 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-r1
2
, lr}
+ stmfd sp!, {r4-r1
1
, lr}
smc #0
dsb
- ldmfd sp!, {r4-r1
2
, pc}
+ ldmfd sp!, {r4-r1
1
, pc}
ENDPROC(keystone_cpu_smc)