commit: http://blackfin.uclinux.org/git/?p=linux-kernel;a=commitdiff;h=0cfca8c3e859993315c0a209590bbde0ee6e5466
branch: http://blackfin.uclinux.org/git/?p=linux-kernel;a=shortlog;h=refs/heads/trunk

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 <[email protected]>
---
 arch/blackfin/mach-common/dpmc_modes.S |    4 ----
 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 3fba05c..bebb019 100644
--- a/arch/blackfin/mach-common/dpmc_modes.S
+++ b/arch/blackfin/mach-common/dpmc_modes.S
@@ -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;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to