Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22acc4e6 authored by Catalin Marinas's avatar Catalin Marinas Committed by Russell King
Browse files

[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: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 4e6a0c39
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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
+2 −4
Original line number Diff line number Diff line
@@ -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