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

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
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment