summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/csumpartialcopy.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib/csumpartialcopy.S')
-rw-r--r--arch/arm/lib/csumpartialcopy.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/lib/csumpartialcopy.S b/arch/arm/lib/csumpartialcopy.S
index 80aa2c795155..d03fc71fc88c 100644
--- a/arch/arm/lib/csumpartialcopy.S
+++ b/arch/arm/lib/csumpartialcopy.S
@@ -18,13 +18,11 @@
*/
.macro save_regs
- mov ip, sp
- stmfd sp!, {r1, r4 - r8, fp, ip, lr, pc}
- sub fp, ip, #4
+ stmfd sp!, {r1, r4 - r8, lr}
.endm
.macro load_regs
- ldmfd sp, {r1, r4 - r8, fp, sp, pc}
+ ldmfd sp!, {r1, r4 - r8, pc}
.endm
.macro load1b, reg1