提交 429e257e 编写于 作者: M 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: NMike Frysinger <vapier@gentoo.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册