aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-06-26 14:08:27 -0400
committerMike Frysinger <vapier@gentoo.org>2011-07-23 01:18:28 -0400
commit429e257ea3bdd14e2401ee3f92d2846773294273 (patch)
treee5eeb9487ad41b46447842de00f1490473e73e98 /arch/blackfin/mach-common
parent4705a25c06c99081c1ec2f48561e37738e566ebd (diff)
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: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-common')
-rw-r--r--arch/blackfin/mach-common/dpmc_modes.S4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/blackfin/mach-common/dpmc_modes.S b/arch/blackfin/mach-common/dpmc_modes.S
index 3fba05c99098..bebb01961622 100644
--- a/arch/blackfin/mach-common/dpmc_modes.S
+++ b/arch/blackfin/mach-common/dpmc_modes.S
@@ -510,8 +510,6 @@ ENTRY(_do_hibernate)
510 r0 = RETI; 510 r0 = RETI;
511 [--sp] = r0; 511 [--sp] = r0;
512 [--sp] = RETX; 512 [--sp] = RETX;
513 [--sp] = RETN;
514 [--sp] = RETE;
515 [--sp] = SEQSTAT; 513 [--sp] = SEQSTAT;
516 514
517 /* Save Magic, return address and Stack Pointer */ 515 /* Save Magic, return address and Stack Pointer */
@@ -533,8 +531,6 @@ ENTRY(_do_hibernate)
533 531
534 /* Restore Core Registers */ 532 /* Restore Core Registers */
535 SEQSTAT = [sp++]; 533 SEQSTAT = [sp++];
536 RETE = [sp++];
537 RETN = [sp++];
538 RETX = [sp++]; 534 RETX = [sp++];
539 r0 = [sp++]; 535 r0 = [sp++];
540 RETI = r0; 536 RETI = r0;