summaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-common/entry.S
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2007-05-21 14:09:09 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-21 20:50:21 +0400
commit8af10b79877ff5dfd5c7b1928d57cf38483e819d (patch)
tree764cb92a90fd2853044a9edb1c1eb575b0bce6ed /arch/blackfin/mach-common/entry.S
parente8edc6e03a5c8562dc70a6d969f732bdb355a7e7 (diff)
downloadlinux-8af10b79877ff5dfd5c7b1928d57cf38483e819d.tar.xz
Blackfin arch: Add Workaround for ANOMALY 05000257
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/blackfin/mach-common/entry.S')
-rw-r--r--arch/blackfin/mach-common/entry.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S
index 8eb0a9023482..e463733f5c77 100644
--- a/arch/blackfin/mach-common/entry.S
+++ b/arch/blackfin/mach-common/entry.S
@@ -181,6 +181,12 @@ ENTRY(_ex_single_step)
_return_from_exception:
DEBUG_START_HWTRACE
+#ifdef ANOMALY_05000257
+ R7=LC0;
+ LC0=R7;
+ R7=LC1;
+ LC1=R7;
+#endif
(R7:6,P5:4) = [sp++];
ASTAT = [sp++];
sp = retn;