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

Commit ca1147fc authored by Vineet Gupta's avatar Vineet Gupta
Browse files

ARC: [arcompact] entry.S: minor code movement



This is a non functional code changw, which moves r25 restore from macro
into the caller of macro

Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 64234961
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -234,6 +234,9 @@
	POP	gp
	RESTORE_R12_TO_R0

#ifdef CONFIG_ARC_CURR_IN_REG
	ld	r25, [sp, 12]
#endif
	ld  sp, [sp] /* restore original sp */
	/* orig_r0, ECR, user_r25 skipped automatically */
.endm
@@ -315,6 +318,9 @@
	POP	gp
	RESTORE_R12_TO_R0

#ifdef CONFIG_ARC_CURR_IN_REG
	ld	r25, [sp, 12]
#endif
	ld  sp, [sp] /* restore original sp */
	/* orig_r0, ECR, user_r25 skipped automatically */
.endm
+0 −3
Original line number Diff line number Diff line
@@ -86,9 +86,6 @@
	POP	r1
	POP	r0

#ifdef CONFIG_ARC_CURR_IN_REG
	ld	r25, [sp, 12]
#endif
.endm

/*--------------------------------------------------------------