summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-highbank
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-highbank')
-rw-r--r--arch/arm/mach-highbank/smc.S10
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/arm/mach-highbank/smc.S b/arch/arm/mach-highbank/smc.S
index b9be3b14dbe..407d17baaaa 100644
--- a/arch/arm/mach-highbank/smc.S
+++ b/arch/arm/mach-highbank/smc.S
@@ -13,17 +13,15 @@
* This is common routine to manage secure monitor API
* used to modify the PL310 secure registers.
* 'r0' contains the value to be modified and 'r12' contains
- * the monitor API number. It uses few CPU registers
- * internally and hence they need be backed up including
- * link register "lr".
+ * the monitor API number.
* Function signature : void highbank_smc1(u32 fn, u32 arg)
*/
ENTRY(highbank_smc1)
- stmfd sp!, {r2-r12, lr}
+ stmfd sp!, {r4-r11, lr}
mov r12, r0
- mov r0, r1
+ mov r0, r1
dsb
smc #0
- ldmfd sp!, {r2-r12, pc}
+ ldmfd sp!, {r4-r11, pc}
ENDPROC(highbank_smc1)