diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2008-08-29 17:31:27 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-01 11:06:35 (GMT) |
commit | 22acc4e65043d436bc286e6059960fa533e37356 (patch) | |
tree | 6f082e96f7da480462f9f8c7788f22e9f80c9708 /arch/arm/lib/csumpartialcopyuser.S | |
parent | 4e6a0c397f40c9d98062aaaac66cab684f0b9186 (diff) | |
download | linux-22acc4e65043d436bc286e6059960fa533e37356.tar.xz |
[ARM] 5231/1: Do not save the frame pointer in the csum_partial_copy_* functions
Since the other assembly functions do not seem to save the frame
pointer onto the stack, this patch changes the csum_partial_copy_*
functions to behave in the same way.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/lib/csumpartialcopyuser.S')
-rw-r--r-- | arch/arm/lib/csumpartialcopyuser.S | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/lib/csumpartialcopyuser.S b/arch/arm/lib/csumpartialcopyuser.S index e8b9c24..14677fb 100644 --- a/arch/arm/lib/csumpartialcopyuser.S +++ b/arch/arm/lib/csumpartialcopyuser.S @@ -18,13 +18,11 @@ .text .macro save_regs - mov ip, sp - stmfd sp!, {r1 - r2, r4 - r8, fp, ip, lr, pc} - sub fp, ip, #4 + stmfd sp!, {r1, r2, r4 - r8, lr} .endm .macro load_regs - ldmfd sp, {r1, r2, r4-r8, fp, sp, pc} + ldmfd sp!, {r1, r2, r4 - r8, pc} .endm .macro load1b, reg1 |