diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2007-05-21 06:09:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-21 12:50:21 -0400 |
commit | 8af10b79877ff5dfd5c7b1928d57cf38483e819d (patch) | |
tree | 764cb92a90fd2853044a9edb1c1eb575b0bce6ed /arch/blackfin/mach-common | |
parent | e8edc6e03a5c8562dc70a6d969f732bdb355a7e7 (diff) |
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')
-rw-r--r-- | arch/blackfin/mach-common/entry.S | 6 |
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) | |||
181 | 181 | ||
182 | _return_from_exception: | 182 | _return_from_exception: |
183 | DEBUG_START_HWTRACE | 183 | DEBUG_START_HWTRACE |
184 | #ifdef ANOMALY_05000257 | ||
185 | R7=LC0; | ||
186 | LC0=R7; | ||
187 | R7=LC1; | ||
188 | LC1=R7; | ||
189 | #endif | ||
184 | (R7:6,P5:4) = [sp++]; | 190 | (R7:6,P5:4) = [sp++]; |
185 | ASTAT = [sp++]; | 191 | ASTAT = [sp++]; |
186 | sp = retn; | 192 | sp = retn; |