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

Commit 429e257e authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: dpmc: omit RETE/RETN when hibernating



The RETE/RETN registers are only used in emulation(JTAG) and NMI nodes,
or as scratch registers, neither of which need to be saved/restored as
this code doesn't execute at those core event levels.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 4705a25c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -510,8 +510,6 @@ ENTRY(_do_hibernate)
	r0 = RETI;
	[--sp] = r0;
	[--sp] = RETX;
	[--sp] = RETN;
	[--sp] = RETE;
	[--sp] = SEQSTAT;

	/* Save Magic, return address and Stack Pointer */
@@ -533,8 +531,6 @@ ENTRY(_do_hibernate)

	/* Restore Core Registers */
	SEQSTAT = [sp++];
	RETE = [sp++];
	RETN = [sp++];
	RETX = [sp++];
	r0 = [sp++];
	RETI = r0;